gnuradioPackages: disabledForGRafter -> disabled

This commit is contained in:
Chuang Zhu 2024-01-28 18:22:43 +08:00
parent d075c6f0b1
commit ab34bb7348
7 changed files with 15 additions and 8 deletions

View file

@ -14,6 +14,7 @@
, icu
, gnuradio
, thrift
, gnuradioAtLeast
}:
mkDerivation rec {
@ -25,7 +26,7 @@ mkDerivation rec {
rev = "2162103226f3dae43c8c2ab23b79483b84346665";
sha256 = "1vackka34722d8pcspfwj0j6gc9ic7dqq64sgkrpjm94sh3bmb0b";
};
disabledForGRafter = "3.9";
disabled = gnuradioAtLeast "3.9";
nativeBuildInputs = [
cmake

View file

@ -15,6 +15,7 @@
, libpcap
, icu
, thrift
, gnuradioAtLeast
}:
let
@ -53,7 +54,7 @@ mkDerivation {
pname = "gr-grnet";
version = version.name;
inherit src;
disabledForGRafter = "3.10";
disabled = gnuradioAtLeast "3.10";
patches = [
# Use cross platform struct ip instead of iphdr
@ -73,7 +74,7 @@ mkDerivation {
gmp
libpcap
icu
] ++ (if lib.versionAtLeast gnuradio.versionAttr.major "3.9" then with python.pkgs; [
] ++ (if gnuradioAtLeast "3.9" then with python.pkgs; [
pybind11
numpy
] else [

View file

@ -10,6 +10,7 @@
, python
, libosmocore
, osmosdr
, gnuradioAtLeast
}:
mkDerivation {
@ -21,7 +22,7 @@ mkDerivation {
rev = "3ca05e6914ef29eb536da5dbec323701fbc2050d";
sha256 = "13nnq927kpf91iqccr8db9ripy5czjl5jiyivizn6bia0bam2pvx";
};
disabledForGRafter = "3.8";
disabled = gnuradioAtLeast "3.8";
nativeBuildInputs = [
cmake

View file

@ -14,6 +14,7 @@
, gmp
, icu
, limesuite
, gnuradioAtLeast
}:
let
@ -33,7 +34,7 @@ let
in mkDerivation {
pname = "gr-limesdr";
inherit version src;
disabledForGRafter = "3.9";
disabled = gnuradioAtLeast "3.9";
nativeBuildInputs = [
cmake

View file

@ -9,6 +9,7 @@
, logLib
, python
, libsodium
, gnuradioAtLeast
}:
mkDerivation {
@ -20,7 +21,7 @@ mkDerivation {
rev = "15276bb0fcabf5fe4de4e58df3d579b5be0e9765";
sha256 = "018np0qlk61l7mlv3xxx5cj1rax8f1vqrsrch3higsl25yydbv7v";
};
disabledForGRafter = "3.8";
disabled = gnuradioAtLeast "3.8";
nativeBuildInputs = [
cmake

View file

@ -22,6 +22,7 @@
, libbladeRF
, rtl-sdr
, soapysdr-with-plugins
, gnuradioAtLeast
}:
let
@ -44,7 +45,7 @@ let
in mkDerivation {
pname = "gr-osmosdr";
inherit version src;
disabledForGRafter = "3.11";
disabled = gnuradioAtLeast "3.11";
outputs = [ "out" "dev" ];

View file

@ -12,6 +12,7 @@
, boost
, gmp
, icu
, gnuradioAtLeast
}:
let
@ -33,7 +34,7 @@ let
in mkDerivation {
pname = "gr-rds";
inherit version src;
disabledForGRafter = "3.9";
disabled = gnuradioAtLeast "3.9";
buildInputs = [
logLib