diff options
author | Mikael Voss <mvs@nyantec.com> | 2021-10-20 17:38:32 +0200 |
---|---|---|
committer | Mikael Voss <mvs@nyantec.com> | 2021-10-22 17:50:47 +0200 |
commit | 932c1bca7c0ff0cdc70d4fc50a9a1d6cda6bea98 (patch) | |
tree | fb805e7be0849fc4656d26b57bbf2a9be4b40298 /pkgs/applications/radio/freedv | |
parent | 32e10ca78a4594eacdaa83dca9bb1263bc30809f (diff) |
freedv: init at 1.6.1
Diffstat (limited to 'pkgs/applications/radio/freedv')
-rw-r--r-- | pkgs/applications/radio/freedv/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/applications/radio/freedv/default.nix b/pkgs/applications/radio/freedv/default.nix new file mode 100644 index 0000000000000..b369a5475e53c --- /dev/null +++ b/pkgs/applications/radio/freedv/default.nix @@ -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 ]; + }; +} |