nixpkgs/pkgs/applications/misc/limesuite/default.nix
R. RyanTM af832d9f38 limesuite: 18.04.1 -> 18.06.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/limesuite/versions.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/7sh0p0mcw1v6f1r83i7wr7389lv5vm34-limesuite-18.06.0/bin/LimeSuiteGUI had a zero exit code or showed the expected version
- /nix/store/7sh0p0mcw1v6f1r83i7wr7389lv5vm34-limesuite-18.06.0/bin/LimeUtil passed the binary check.
- Warning: no invocation of /nix/store/7sh0p0mcw1v6f1r83i7wr7389lv5vm34-limesuite-18.06.0/bin/LimeQuickTest had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/7sh0p0mcw1v6f1r83i7wr7389lv5vm34-limesuite-18.06.0/bin/dualRXTX had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/7sh0p0mcw1v6f1r83i7wr7389lv5vm34-limesuite-18.06.0/bin/basicRX had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/7sh0p0mcw1v6f1r83i7wr7389lv5vm34-limesuite-18.06.0/bin/singleRX had a zero exit code or showed the expected version
- 1 of 6 passed binary check by having a zero exit code.
- 0 of 6 passed binary check by having the new version present in output.
- found 18.06.0 with grep in /nix/store/7sh0p0mcw1v6f1r83i7wr7389lv5vm34-limesuite-18.06.0
- directory tree listing: https://gist.github.com/3cfd23841be1388c02a3464057c0aa82
- du listing: https://gist.github.com/59c4481c8e54971db6beff9cee37c760
2018-06-19 08:05:14 -07:00

54 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, cmake
, sqlite, wxGTK30, libusb1, soapysdr
, mesa_glu, libX11, gnuplot, fltk
} :
let
version = "18.06.0";
in stdenv.mkDerivation {
name = "limesuite-${version}";
src = fetchFromGitHub {
owner = "myriadrf";
repo = "LimeSuite";
rev = "v${version}";
sha256 = "0j6mxlvij2k6ib1d9jwzvilmqgm1h0q7wy9sf8a6bvidwlphvy25";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
libusb1
sqlite
wxGTK30
fltk
gnuplot
libusb1
soapysdr
mesa_glu
libX11
];
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.asl20;
maintainers = with maintainers; [ markuskowa ];
platforms = platforms.linux;
};
}