gnuradio-limesdr: init at 1.0.0-RC (#47176)

This commit is contained in:
markuskowa 2018-09-23 10:08:50 +02:00 committed by xeji
parent e141f7cd2f
commit 3f883b443c
2 changed files with 41 additions and 1 deletions

View 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 ];
};
}

View File

@ -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 { };