diff options
author | Markus Kowalewski <markus.kowalewski.uu@gmail.com> | 2017-12-06 00:37:05 -0800 |
---|---|---|
committer | Markus Kowalewski <markus.kowalewski.uu@gmail.com> | 2017-12-06 00:37:05 -0800 |
commit | e832834a14edbb7d2aa1f31a0b3ce16e2f549db2 (patch) | |
tree | 41eb47ddf608bb862e467427175871add6012437 /pkgs/applications/misc/airspy | |
parent | fb1660439b895a36f9a4c05374dc643c28a83be2 (diff) |
airspy: init at 1.0.9
Diffstat (limited to 'pkgs/applications/misc/airspy')
-rw-r--r-- | pkgs/applications/misc/airspy/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/misc/airspy/default.nix b/pkgs/applications/misc/airspy/default.nix new file mode 100644 index 0000000000000..b73cc09eaec0d --- /dev/null +++ b/pkgs/applications/misc/airspy/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub +, cmake , pkgconfig, libusb +}: + +let + version = "1.0.9"; +in + stdenv.mkDerivation { + name = "airspy-${version}"; + + src = fetchFromGitHub { + owner = "airspy"; + repo = "airspyone_host"; + rev = "v${version}"; + sha256 = "04kx2p461sqd4q354n1a99zcabg9h29dwcnyhakykq8bpg3mgf1x"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + buildInputs = [ libusb ]; + + cmakeFlags = [ "-DINSTALL_UDEV_RULES=OFF" ]; + + meta = with stdenv.lib; { + homepage = http://github.com/airspy/airspyone_host; + description = "Host tools and driver library for the AirSpy SDR"; + license = licenses.free; + platforms = platforms.linux; + maintainer = with maintainers; [ markuskowa ]; + }; + } + |