summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2021-04-04 17:51:39 +0100
committerGitHub <noreply@github.com>2021-04-04 17:51:39 +0100
commitee33b8b17c1c50fa8d94e2eb8b499c919ea80e0f (patch)
tree4fb1ddd4742693092c8756db9a1a54d1dc3e3ba3 /pkgs/applications
parent540199893d51d13f59364471ac245c0a4475d29f (diff)
parent525420ef36e5de7ccb4ae97aa1e5d477410196aa (diff)
downloadnixpkgs-ee33b8b17c1c50fa8d94e2eb8b499c919ea80e0f.tar
nixpkgs-ee33b8b17c1c50fa8d94e2eb8b499c919ea80e0f.tar.gz
nixpkgs-ee33b8b17c1c50fa8d94e2eb8b499c919ea80e0f.tar.bz2
nixpkgs-ee33b8b17c1c50fa8d94e2eb8b499c919ea80e0f.tar.lz
nixpkgs-ee33b8b17c1c50fa8d94e2eb8b499c919ea80e0f.tar.xz
nixpkgs-ee33b8b17c1c50fa8d94e2eb8b499c919ea80e0f.tar.zst
nixpkgs-ee33b8b17c1c50fa8d94e2eb8b499c919ea80e0f.zip
Merge pull request #118347 from eduardosm/gr3.8
gnuradio3_8: 3.8.2.0 -> 3.8.3.0
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/radio/gnuradio/3.8.nix30
1 files changed, 8 insertions, 22 deletions
diff --git a/pkgs/applications/radio/gnuradio/3.8.nix b/pkgs/applications/radio/gnuradio/3.8.nix
index 799b429800d..7e2069c346c 100644
--- a/pkgs/applications/radio/gnuradio/3.8.nix
+++ b/pkgs/applications/radio/gnuradio/3.8.nix
@@ -42,7 +42,7 @@
 , pname ? "gnuradio"
 , versionAttr ? {
   major = "3.8";
-  minor = "2";
+  minor = "3";
   patch = "0";
 }
 # We use our build of volk and not the one bundled with the release
@@ -50,7 +50,7 @@
 }:
 
 let
-  sourceSha256 =  "SFDjtyQRp0fXijZukpLYtISpx8imxedlYN9mRibv1eA=";
+  sourceSha256 = "0lwbj3slhc8bjjvfw7yz45if21hajydgy2vsjvj2barzmhfb37fd";
   featuresInfo = {
     # Needed always
     basic = {
@@ -241,12 +241,17 @@ stdenv.mkDerivation rec {
   };
   cmakeFlags = shared.cmakeFlags
     # From some reason, if these are not set, libcodec2 and gsm are not
-    # detected properly. NOTE: qradiolink needs libcodec2 to be detected in
+    # detected properly. The issue is reported upstream:
+    # https://github.com/gnuradio/gnuradio/issues/4278
+    #
+    # NOTE: qradiolink needs libcodec2 to be detected in
     # order to build, see https://github.com/qradiolink/qradiolink/issues/67
     ++ lib.optionals (hasFeature "gr-vocoder" features) [
+      "-DLIBCODEC2_FOUND=TRUE"
       "-DLIBCODEC2_LIBRARIES=${codec2}/lib/libcodec2.so"
       "-DLIBCODEC2_INCLUDE_DIRS=${codec2}/include"
       "-DLIBCODEC2_HAS_FREEDV_API=ON"
+      "-DLIBGSM_FOUND=TRUE"
       "-DLIBGSM_LIBRARIES=${gsm}/lib/libgsm.so"
       "-DLIBGSM_INCLUDE_DIRS=${gsm}/include/gsm"
     ]
@@ -262,23 +267,4 @@ stdenv.mkDerivation rec {
       ${removeReferencesTo}/bin/remove-references-to -t ${python} $out/lib/cmake/gnuradio/GnuradioConfig.cmake
     ''
   ;
-  patches = [
-    # Don't install python referencing files if python support is disabled.
-    # See: https://github.com/gnuradio/gnuradio/pull/3839
-    (fetchpatch {
-      url = "https://github.com/gnuradio/gnuradio/commit/4a4fd570b398b0b50fe875fcf0eb9c9db2ea5c6e.diff";
-      sha256 = "xz2E0ji6zfdOAhjfPecAcaVOIls1XP8JngLkBbBBW5Q=";
-    })
-    (fetchpatch {
-      url = "https://github.com/gnuradio/gnuradio/commit/dbc8ad7e7361fddc7b1dbc267c07a776a3f9664b.diff";
-      sha256 = "tQcCpcUbJv3yqAX8rSHN/pAuBq4ueEvoVo7sNzZGvf4=";
-    })
-    # Needed to use boost 1.7x, see:
-    # https://github.com/gnuradio/gnuradio/issues/3720
-    # https://github.com/gnuradio/gnuradio/pull/3967
-    (fetchpatch {
-      url = "https://github.com/gnuradio/gnuradio/commit/cbcb968358fad56f3646619b258f18b0e6693a07.diff";
-      sha256 = "1ajf4797f869lqv436xw61s29qdbn7f01i0970kfxv3yahd34p9v";
-    })
-  ];
 }