limesuite: init at 18.04.1
This commit is contained in:
parent
184cb1e8c6
commit
e0d3371728
|
@ -0,0 +1,55 @@
|
||||||
|
{ stdenv, fetchFromGitHub, cmake
|
||||||
|
, sqlite, wxGTK30, libusb1, soapysdr
|
||||||
|
, mesa_glu, libX11, gnuplot, fltk
|
||||||
|
} :
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "18.04.1";
|
||||||
|
|
||||||
|
in stdenv.mkDerivation {
|
||||||
|
name = "limesuite-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "myriadrf";
|
||||||
|
repo = "LimeSuite";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1aaqnwif1j045hvj011k5dyqxgxx72h33r4al74h5f8al81zvzj9";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libusb1
|
||||||
|
sqlite
|
||||||
|
wxGTK30
|
||||||
|
fltk
|
||||||
|
gnuplot
|
||||||
|
libusb1
|
||||||
|
soapysdr
|
||||||
|
mesa_glu
|
||||||
|
libX11
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/lib/udev/rules.d
|
||||||
|
cp ../udev-rules/64-limesuite.rules $out/lib/udev/rules.d
|
||||||
|
|
||||||
|
mkdir -p $out/share/limesuite
|
||||||
|
cp bin/Release/lms7suite_mcu/* $out/share/limesuite
|
||||||
|
|
||||||
|
cp bin/dualRXTX $out/bin
|
||||||
|
cp bin/basicRX $out/bin
|
||||||
|
cp bin/singleRX $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Driver and GUI for LMS7002M-based SDR platforms";
|
||||||
|
homepage = https://github.com/myriadrf/LimeSuite;
|
||||||
|
license = licenses.apache2;
|
||||||
|
maintainers = with maintainers; [ markuskowa ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -3513,6 +3513,8 @@ with pkgs;
|
||||||
|
|
||||||
libwebsockets = callPackage ../development/libraries/libwebsockets { };
|
libwebsockets = callPackage ../development/libraries/libwebsockets { };
|
||||||
|
|
||||||
|
limesuite = callPackage ../applications/misc/limesuite { };
|
||||||
|
|
||||||
limesurvey = callPackage ../servers/limesurvey { };
|
limesurvey = callPackage ../servers/limesurvey { };
|
||||||
|
|
||||||
linuxquota = callPackage ../tools/misc/linuxquota { };
|
linuxquota = callPackage ../tools/misc/linuxquota { };
|
||||||
|
@ -11477,6 +11479,7 @@ with pkgs;
|
||||||
soapysdr-with-plugins = callPackage ../applications/misc/soapysdr {
|
soapysdr-with-plugins = callPackage ../applications/misc/soapysdr {
|
||||||
inherit (python3Packages) python numpy;
|
inherit (python3Packages) python numpy;
|
||||||
extraPackages = [
|
extraPackages = [
|
||||||
|
limesuite
|
||||||
soapyairspy
|
soapyairspy
|
||||||
soapybladerf
|
soapybladerf
|
||||||
soapyhackrf
|
soapyhackrf
|
||||||
|
|
Loading…
Reference in New Issue