Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
1.2 KiB
Nix
54 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
newScope,
|
|
gnuradio, # unwrapped gnuradio
|
|
}:
|
|
|
|
lib.makeScope newScope (
|
|
self:
|
|
|
|
let
|
|
# Modeled after qt's
|
|
mkDerivationWith = import ../development/gnuradio-modules/mkDerivation.nix {
|
|
inherit lib;
|
|
unwrapped = gnuradio;
|
|
};
|
|
mkDerivation = mkDerivationWith stdenv.mkDerivation;
|
|
|
|
callPackage = self.newScope (
|
|
{
|
|
inherit (gnuradio)
|
|
# Packages that are potentially overridden and used as deps here.
|
|
boost
|
|
volk
|
|
logLib
|
|
python
|
|
qwt
|
|
;
|
|
inherit mkDerivationWith mkDerivation;
|
|
inherit gnuradio;
|
|
inherit (gnuradio) gnuradioOlder gnuradioAtLeast;
|
|
}
|
|
// lib.optionalAttrs (gnuradio.hasFeature "gr-uhd") {
|
|
inherit (gnuradio) uhd;
|
|
}
|
|
);
|
|
in
|
|
{
|
|
|
|
inherit callPackage mkDerivation mkDerivationWith;
|
|
|
|
### Packages
|
|
|
|
bladeRF = callPackage ../development/gnuradio-modules/bladeRF/default.nix { };
|
|
|
|
lora_sdr = callPackage ../development/gnuradio-modules/lora_sdr/default.nix { };
|
|
|
|
osmosdr = callPackage ../development/gnuradio-modules/osmosdr/default.nix { };
|
|
|
|
fosphor = callPackage ../development/gnuradio-modules/fosphor/default.nix { };
|
|
|
|
}
|
|
)
|