gnuradioPackages.lora_sdr: init at unstable-2025-01-09
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
fetchFromGitHub,
|
||||
gnuradio,
|
||||
cmake,
|
||||
pkg-config,
|
||||
logLib,
|
||||
mpir,
|
||||
gmp,
|
||||
boost,
|
||||
python,
|
||||
gnuradioOlder,
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
pname = "gr-lora_sdr";
|
||||
version = "unstable-2025-01-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tapparelj";
|
||||
repo = "gr-lora_sdr";
|
||||
rev = "9befbad3e6120529918acf1a742e25465f6b95e4";
|
||||
hash = "sha256-9oBdzoS2aWWXmiUk5rI0gG3g+BJqUDgMu3/PmZSUkuU=";
|
||||
};
|
||||
disabled = gnuradioOlder "3.10";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
logLib
|
||||
mpir
|
||||
gmp
|
||||
boost
|
||||
]
|
||||
++ lib.optionals (gnuradio.hasFeature "python-support") [
|
||||
python.pkgs.pybind11
|
||||
python.pkgs.numpy
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "ENABLE_PYTHON" (gnuradio.hasFeature "python-support"))
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Fully-functional GNU Radio software-defined radio (SDR) implementation of a LoRa transceiver";
|
||||
homepage = "https://www.epfl.ch/labs/tcl/resources-and-sw/lora-phy/";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ chuangzhu ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -37,6 +37,8 @@ in {
|
||||
|
||||
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 { };
|
||||
|
||||
Reference in New Issue
Block a user