gnuradio-limesdr: init at 1.0.0-RC (#47176)
This commit is contained in:
parent
e141f7cd2f
commit
3f883b443c
38
pkgs/applications/misc/gnuradio/limesdr.nix
Normal file
38
pkgs/applications/misc/gnuradio/limesdr.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, boost, gnuradio
|
||||
, pythonSupport ? true, python, swig, limesuite
|
||||
} :
|
||||
|
||||
assert pythonSupport -> python != null && swig != null;
|
||||
|
||||
let
|
||||
version = "1.0.0-RC";
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "gnuradio-limesdr-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "myriadrf";
|
||||
repo = "gr-limesdr";
|
||||
rev = "v${version}";
|
||||
sha256 = "0b34mg9nfar2gcir98004ixrxmxi8p3p2hrvvi1razd869x2a0lf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
] ++ stdenv.lib.optionals pythonSupport [ swig ];
|
||||
|
||||
buildInputs = [
|
||||
boost gnuradio limesuite
|
||||
] ++ stdenv.lib.optionals pythonSupport [ python ];
|
||||
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Gnuradio source and sink blocks for LimeSDR";
|
||||
homepage = https://wiki.myriadrf.org/Gr-limesdr_Plugin_for_GNURadio;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = [ maintainers.markuskowa ];
|
||||
};
|
||||
}
|
@ -16405,7 +16405,7 @@ with pkgs;
|
||||
|
||||
gnuradio-with-packages = callPackage ../applications/misc/gnuradio/wrapper.nix {
|
||||
inherit (python2Packages) python;
|
||||
extraPackages = [ gnuradio-nacl gnuradio-osmosdr gnuradio-gsm gnuradio-ais gnuradio-rds ];
|
||||
extraPackages = [ gnuradio-nacl gnuradio-osmosdr gnuradio-gsm gnuradio-ais gnuradio-rds gnuradio-limesdr ];
|
||||
};
|
||||
|
||||
gnuradio-nacl = callPackage ../applications/misc/gnuradio/nacl.nix { };
|
||||
@ -16414,6 +16414,8 @@ with pkgs;
|
||||
|
||||
gnuradio-ais = callPackage ../applications/misc/gnuradio/ais.nix { };
|
||||
|
||||
gnuradio-limesdr = callPackage ../applications/misc/gnuradio/limesdr.nix { };
|
||||
|
||||
gnuradio-rds = callPackage ../applications/misc/gnuradio/rds.nix { };
|
||||
|
||||
gnuradio-osmosdr = callPackage ../applications/misc/gnuradio/osmosdr.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user