freedv: init at 1.6.1

conduit-nginx
Mikael Voss 2021-10-20 17:38:32 +02:00
parent 32e10ca78a
commit 932c1bca7c
No known key found for this signature in database
GPG Key ID: D991B1833C467B03
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, codec2
, libsamplerate
, libsndfile
, lpcnetfreedv
, portaudio
, speexdsp
, hamlib
, wxGTK31-gtk3
}:
stdenv.mkDerivation rec {
pname = "freedv";
version = "1.6.1";
src = fetchFromGitHub {
owner = "drowe67";
repo = "freedv-gui";
rev = "v${version}";
sha256 = "1dzhf944vgla9a5ilcgwivhzgdbfaknqnwbpb071a0rz8rajnv0q";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
codec2
libsamplerate
libsndfile
lpcnetfreedv
portaudio
speexdsp
hamlib
wxGTK31-gtk3
];
cmakeFlags = [
"-DUSE_INTERNAL_CODEC2:BOOL=FALSE"
"-DUSE_STATIC_DEPS:BOOL=FALSE"
];
meta = with lib; {
homepage = "https://freedv.org/";
description = "Digital voice for HF radio";
license = licenses.lgpl21;
maintainers = with maintainers; [ mvs ];
};
}

View File

@ -24989,6 +24989,8 @@ with pkgs;
shiboken2;
};
freedv = callPackage ../applications/radio/freedv { };
freemind = callPackage ../applications/misc/freemind {
jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731