git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #158468 from illdefined/freedv

freedv: 1.6.1 -> 1.7.0

commitcf100a10406af21cd60e296cbfad0fab0881d2f4 authormarkuskowa <markus.kowalewski@gmail.com> dateMon 7 Feb 2022, 21:50 (5 years ago) parent381c2e2faa11fc
1 file changed+5−5
pkgs/applications/radio/freedv/default.nix+5−5
pkgs/applications/radio/freedv/default.nix+5−5
@@ -7,6 +7,7 @@
77, libsndfile
88, lpcnetfreedv
99, portaudio
10+, pulseaudio
1011, speexdsp
1112, hamlib
1213, wxGTK31-gtk3
@@ -14,13 +15,13 @@
1415
1516stdenv.mkDerivation rec {
1617 pname = "freedv";
17− version = "1.6.1";
18+ version = "1.7.0";
1819
1920 src = fetchFromGitHub {
2021 owner = "drowe67";
2122 repo = "freedv-gui";
2223 rev = "v${version}";
23− sha256 = "1dzhf944vgla9a5ilcgwivhzgdbfaknqnwbpb071a0rz8rajnv0q";
24+ hash = "sha256-0E7r/7+AQRPIFAcE6O1WE0NYiKzAlBR0jKbssqWvRMU=";
2425 };
2526
2627 nativeBuildInputs = [ cmake ];
@@ -29,16 +30,15 @@ stdenv.mkDerivation rec {
2930 libsamplerate
3031 libsndfile
3132 lpcnetfreedv
32− portaudio
3333 speexdsp
3434 hamlib
3535 wxGTK31-gtk3
36− ];
36+ ] ++ (if stdenv.isLinux then [ pulseaudio ] else [ portaudio ]);
3737
3838 cmakeFlags = [
3939 "-DUSE_INTERNAL_CODEC2:BOOL=FALSE"
4040 "-DUSE_STATIC_DEPS:BOOL=FALSE"
41− ];
41+ ] ++ lib.optionals stdenv.isLinux [ "-DUSE_PULSEAUDIO:BOOL=TRUE" ];
4242
4343 meta = with lib; {
4444 homepage = "https://freedv.org/";