9 # Check if it's supposed to not get built for the current gnuradio version
10 if (builtins.hasAttr "disabled" args) && args.disabled then
11 let name = args.name or "${args.pname}"; in
12 throw "Package ${name} is incompatible with GNURadio ${unwrapped.versionAttr.major}"
15 if builtins.hasAttr "disabledForGRafter" args then
17 `disabledForGRafter` is superseded by `disabled`.
18 Use `disabled = gnuradioAtLeast "${args.disabledForGRafter}";` instead.
24 enableParallelBuilding = args.enableParallelBuilding or true;
25 nativeBuildInputs = (args.nativeBuildInputs or []);
26 # We add gnuradio and volk itself by default - most gnuradio based packages
27 # will not consider it a depenency worth mentioning and it will almost
29 buildInputs = (args.buildInputs or []) ++ [ unwrapped unwrapped.volk ];
31 in mkDerivation (args // args_)