diff options
author | Markus Kowalewski <markus.kowalewski@gmail.com> | 2018-04-25 11:54:41 -0700 |
---|---|---|
committer | Markus Kowalewski <markus.kowalewski@gmail.com> | 2018-04-25 12:31:47 -0700 |
commit | e0d33717282a3fba85840c01ae8ac485832fed93 (patch) | |
tree | ddb6dac6a6b699f715965546702595e21052ff4d | |
parent | 184cb1e8c6ac5b226d29f14c5452e9dbafc2792f (diff) | |
download | nixpkgs-e0d33717282a3fba85840c01ae8ac485832fed93.tar nixpkgs-e0d33717282a3fba85840c01ae8ac485832fed93.tar.gz nixpkgs-e0d33717282a3fba85840c01ae8ac485832fed93.tar.bz2 nixpkgs-e0d33717282a3fba85840c01ae8ac485832fed93.tar.lz nixpkgs-e0d33717282a3fba85840c01ae8ac485832fed93.tar.xz nixpkgs-e0d33717282a3fba85840c01ae8ac485832fed93.tar.zst nixpkgs-e0d33717282a3fba85840c01ae8ac485832fed93.zip |
limesuite: init at 18.04.1
-rw-r--r-- | pkgs/applications/misc/limesuite/default.nix | 55 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 3 |
2 files changed, 58 insertions, 0 deletions
diff --git a/pkgs/applications/misc/limesuite/default.nix b/pkgs/applications/misc/limesuite/default.nix new file mode 100644 index 00000000000..e166c7a6b51 --- /dev/null +++ b/pkgs/applications/misc/limesuite/default.nix @@ -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; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b9399883823..1b6135c4dbc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 |