Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

63 lines
1.2 KiB
Nix

{
lib,
mkDerivation,
fetchFromGitHub,
cmake,
pkg-config,
boost,
doxygen,
gmp,
gnuradio,
libbladeRF,
mpir,
osmosdr,
python,
spdlog,
}:
mkDerivation {
pname = "gr-bladeRF";
version = "0-unstable-2023-11-20";
src = fetchFromGitHub {
owner = "Nuand";
repo = "gr-bladeRF";
rev = "27de2898dbee75d55c61f541315e3853e602e526";
hash = "sha256-josovHEp2VxgZqItkTAISdY1LARMIvQKD604fh4iZWc=";
};
buildInputs = [
boost
doxygen
gmp
gnuradio
libbladeRF
mpir
osmosdr
spdlog
]
++ lib.optionals (gnuradio.hasFeature "python-support") [
python.pkgs.numpy
python.pkgs.pybind11
];
cmakeFlags = [
(lib.cmakeBool "ENABLE_PYTHON" (gnuradio.hasFeature "python-support"))
];
nativeBuildInputs = [
cmake
pkg-config
]
++ lib.optionals (gnuradio.hasFeature "python-support") [
python.pkgs.mako
python.pkgs.pygccxml
];
meta = {
description = "GNU Radio source and sink blocks for bladeRF devices";
homepage = "https://github.com/Nuand/gr-bladeRF";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ wucke13 ];
platforms = lib.platforms.linux;
};
}