gnuradioPackages.bladeRF: init at 0-unstable-2023-11-20 (#345249)

gr-bladeRF: init at unstable-2023-11-20

Co-authored-by: Arne Keller <2012gdwu+github@posteo.de>
This commit is contained in:
wucke13
2025-01-05 21:38:01 +01:00
committed by GitHub
parent 5dbafd1004
commit e8bc2c81a0
2 changed files with 66 additions and 0 deletions
@@ -0,0 +1,64 @@
{
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;
};
}
+2
View File
@@ -35,6 +35,8 @@ in {
### Packages
bladeRF = callPackage ../development/gnuradio-modules/bladeRF/default.nix { };
osmosdr = callPackage ../development/gnuradio-modules/osmosdr/default.nix { };
fosphor = callPackage ../development/gnuradio-modules/fosphor/default.nix { };