about summary refs log tree commit diff
path: root/pkgs/applications/radio
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-08-30 00:40:49 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-08-30 00:40:49 +0200
commit4ac5e8459218a46d737d484f38b226d83a07b794 (patch)
tree3b83e8a3778b933be76e68c3e0efe93770ac7fde /pkgs/applications/radio
parentba29c65bfb5b97e2f6dad4f73f315305ff01f781 (diff)
freedv: 1.8.12 -> 1.9.1
Diffstat (limited to 'pkgs/applications/radio')
-rw-r--r--pkgs/applications/radio/freedv/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/radio/freedv/default.nix b/pkgs/applications/radio/freedv/default.nix
index a8a3d0f875050..836bce7f46300 100644
--- a/pkgs/applications/radio/freedv/default.nix
+++ b/pkgs/applications/radio/freedv/default.nix
@@ -25,13 +25,13 @@
 
 stdenv.mkDerivation rec {
   pname = "freedv";
-  version = "1.8.12";
+  version = "1.9.1";
 
   src = fetchFromGitHub {
     owner = "drowe67";
     repo = "freedv-gui";
     rev = "v${version}";
-    hash = "sha256-5qq7EDCLAiCReFS1V8R2SkFI8CesmQclimcE3USGV/U=";
+    hash = "sha256-4bkT853MZL6v0/PRh0RJBhqdFBXgWFSPDtIPLgcKR8A=";
   };
 
   postPatch = lib.optionalString stdenv.isDarwin ''
@@ -69,7 +69,8 @@ stdenv.mkDerivation rec {
     "-DUSE_INTERNAL_CODEC2:BOOL=FALSE"
     "-DUSE_STATIC_DEPS:BOOL=FALSE"
     "-DUNITTEST=ON"
-  ] ++ lib.optionals pulseSupport [ "-DUSE_PULSEAUDIO:BOOL=TRUE" ];
+    "-DUSE_PULSEAUDIO:BOOL=${if pulseSupport then "TRUE" else "FALSE"}"
+  ];
 
   env.NIX_CFLAGS_COMPILE = toString (lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
     "-DAPPLE_OLD_XCODE"