nixpkgs/pkgs/applications/misc/limesuite/default.nix

54 lines
1.1 KiB
Nix
Raw Normal View History

2018-04-25 19:54:41 +01:00
{ stdenv, fetchFromGitHub, cmake
, sqlite, wxGTK30, libusb1, soapysdr
, mesa_glu, libX11, gnuplot, fltk
} :
let
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 16:05:14 +01:00
version = "18.06.0";
2018-04-25 19:54:41 +01:00
in stdenv.mkDerivation {
name = "limesuite-${version}";
src = fetchFromGitHub {
owner = "myriadrf";
repo = "LimeSuite";
rev = "v${version}";
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 16:05:14 +01:00
sha256 = "0j6mxlvij2k6ib1d9jwzvilmqgm1h0q7wy9sf8a6bvidwlphvy25";
2018-04-25 19:54:41 +01:00
};
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;
2018-04-25 20:59:23 +01:00
license = licenses.asl20;
2018-04-25 19:54:41 +01:00
maintainers = with maintainers; [ markuskowa ];
platforms = platforms.linux;
};
}