···8, boost
9, ncurses
10, enableCApi ? true
11+# Although we handle the Python API's dependencies in pythonEnvArg, this
12+# feature is currently disabled as upstream attempts to run `python setup.py
13+# install` by itself, and it fails because the Python's environment's prefix is
14+# not a writable directly. Adding support for this feature would require using
15+# python's pypa/build nad pypa/install hooks directly, and currently it is hard
16+# to do that because it all happens after a long buildPhase of the C API.
17, enablePythonApi ? false
18, python3
19, buildPackages
20, enableExamples ? false
21+, enableUtils ? true
22, libusb1
23+# Disable dpdk for now due to compilation issues.
24, enableDpdk ? false
25, dpdk
26# Devices
···149 mkdir -p $out/lib/udev/rules.d
150 mv $out/lib/uhd/utils/uhd-usrp.rules $out/lib/udev/rules.d/
151 '';
152+153+ disallowedReferences = optionals (!enablePythonApi && !enableUtils) [
154+ python3
155+ ];
156157 meta = with lib; {
158 description = "USRP Hardware Driver (for Software Defined Radio)";
+1
pkgs/top-level/aliases.nix
···816 uade123 = uade; # Added 2022-07-30
817 uberwriter = apostrophe; # Added 2020-04-23
818 ubootBeagleboneBlack = ubootAmx335xEVM; # Added 2020-01-21
0819 uhhyou.lv2 = throw "'uhhyou.lv2' has been removed, upstream gone"; # Added 2023-06-21
820 unicorn-emu = unicorn; # Added 2020-10-29
821 uniffi-bindgen = throw "uniffi-bindgen has been removed since upstream no longer provides a standalone package for the CLI";
···816 uade123 = uade; # Added 2022-07-30
817 uberwriter = apostrophe; # Added 2020-04-23
818 ubootBeagleboneBlack = ubootAmx335xEVM; # Added 2020-01-21
819+ uhd3_5 = throw "uhd3_5 has been removed, because it was no longer needed"; # Added 2023-10-07
820 uhhyou.lv2 = throw "'uhhyou.lv2' has been removed, upstream gone"; # Added 2023-06-21
821 unicorn-emu = unicorn; # Added 2020-10-29
822 uniffi-bindgen = throw "uniffi-bindgen has been removed since upstream no longer provides a standalone package for the CLI";
+7-1
pkgs/top-level/all-packages.nix
···2050820509 uefi-firmware-parser = callPackage ../development/tools/analysis/uefi-firmware-parser { };
2051020511- uhd3_5 = callPackage ../applications/radio/uhd/3.5.nix { };
20512 uhd = callPackage ../applications/radio/uhd { };
00002051320514 uisp = callPackage ../development/embedded/uisp { };
20515···31847 # So it will not reference python
31848 enableModTool = false;
31849 };
031850 features = {
31851 gnuradio-companion = false;
31852 python-support = false;
···31879 # So it will not reference python
31880 enableModTool = false;
31881 };
031882 features = {
31883 gnuradio-companion = false;
31884 python-support = false;
···31910 volk = volk.override {
31911 enableModTool = false;
31912 };
031913 features = {
31914 gnuradio-companion = false;
31915 python-support = false;