Merge pull request #32378 from markuskowa/master

airspy: init at 1.0.9
This commit is contained in:
Pascal Wittmann 2017-12-07 12:38:38 +01:00 committed by GitHub
commit ae7e3a3a41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 2 deletions

View file

@ -391,6 +391,7 @@
manveru = "Michael Fellinger <m.fellinger@gmail.com>";
marcweber = "Marc Weber <marco-oweber@gmx.de>";
markus1189 = "Markus Hauck <markus1189@gmail.com>";
markuskowa = "Markus Kowalewski <markus.kowalewski@gmail.com>";
markWot = "Markus Wotringer <markus@wotringer.de>";
martijnvermaat = "Martijn Vermaat <martijn@vermaat.name>";
martingms = "Martin Gammelsæter <martin@mg.am>";

View file

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

View file

@ -1,5 +1,5 @@
{ stdenv, fetchgit, cmake, pkgconfig, boost, gnuradio, rtl-sdr, uhd
, makeWrapper, hackrf
, makeWrapper, hackrf, airspy
, pythonSupport ? true, python, swig
}:
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
cmake boost gnuradio rtl-sdr uhd makeWrapper hackrf
cmake boost gnuradio rtl-sdr uhd makeWrapper hackrf airspy
] ++ stdenv.lib.optionals pythonSupport [ python swig ];
postInstall = ''

View file

@ -430,6 +430,8 @@ with pkgs;
airsonic = callPackage ../servers/misc/airsonic { };
airspy = callPackage ../applications/misc/airspy { };
aj-snapshot = callPackage ../applications/audio/aj-snapshot { };
albert = libsForQt5.callPackage ../applications/misc/albert {};