limesuite: init at 18.04.1

This commit is contained in:
Markus Kowalewski 2018-04-25 11:54:41 -07:00
parent 184cb1e8c6
commit e0d3371728
No known key found for this signature in database
GPG key ID: D865C8A91D7025EB
2 changed files with 58 additions and 0 deletions

View file

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

View file

@ -3513,6 +3513,8 @@ with pkgs;
libwebsockets = callPackage ../development/libraries/libwebsockets { };
limesuite = callPackage ../applications/misc/limesuite { };
limesurvey = callPackage ../servers/limesurvey { };
linuxquota = callPackage ../tools/misc/linuxquota { };
@ -11477,6 +11479,7 @@ with pkgs;
soapysdr-with-plugins = callPackage ../applications/misc/soapysdr {
inherit (python3Packages) python numpy;
extraPackages = [
limesuite
soapyairspy
soapybladerf
soapyhackrf