gnuradioMinimal: move to pkgs/by-name

This commit is contained in:
Doron Behar
2024-12-24 11:57:40 +02:00
parent 6d55129551
commit 592ebbfbf1
2 changed files with 31 additions and 26 deletions
@@ -0,0 +1,31 @@
{
gnuradio,
volk,
uhdMinimal,
}:
# A build without gui components and other utilites not needed for end user
# libraries
gnuradio.override {
doWrap = false;
unwrapped = gnuradio.unwrapped.override {
volk = volk.override {
# So it will not reference python
enableModTool = false;
};
uhd = uhdMinimal;
features = {
gnuradio-companion = false;
python-support = false;
examples = false;
gr-qtgui = false;
gr-utils = false;
gr-modtool = false;
gr-blocktool = false;
sphinx = false;
doxygen = false;
# Doesn't make it reference python eventually, but makes reverse
# depdendencies require python to use cmake files of GR.
gr-ctrlport = false;
};
};
}
-26
View File
@@ -13641,32 +13641,6 @@ with pkgs;
};
};
gnuradioPackages = lib.recurseIntoAttrs gnuradio.pkgs;
# A build without gui components and other utilites not needed for end user
# libraries
gnuradioMinimal = gnuradio.override {
doWrap = false;
unwrapped = gnuradio.unwrapped.override {
volk = volk.override {
# So it will not reference python
enableModTool = false;
};
uhd = uhdMinimal;
features = {
gnuradio-companion = false;
python-support = false;
examples = false;
gr-qtgui = false;
gr-utils = false;
gr-modtool = false;
gr-blocktool = false;
sphinx = false;
doxygen = false;
# Doesn't make it reference python eventually, but makes reverse
# depdendencies require python to use cmake files of GR.
gr-ctrlport = false;
};
};
};
gnuradio3_8 = callPackage ../applications/radio/gnuradio/wrapper.nix {
unwrapped = callPackage ../applications/radio/gnuradio/3.8.nix ({
inherit (darwin.apple_sdk.frameworks) CoreAudio;