Merge pull request #51580 from ragnard/soapyrtlsdr

soapyrtlsdr: init at 0.2.5
This commit is contained in:
markuskowa 2018-12-06 21:11:41 +01:00 committed by GitHub
commit 3861b9c19e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig
, rtl-sdr, soapysdr
} :
let
version = "0.2.5";
in stdenv.mkDerivation {
name = "soapyrtlsdr-${version}";
src = fetchFromGitHub {
owner = "pothosware";
repo = "SoapyRTLSDR";
rev = "soapy-rtlsdr-${version}";
sha256 = "1wyghfqq3vcbjn5w06h5ik62m6555inrlkyrsnk2r78865xilkv3";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ rtl-sdr soapysdr ];
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
meta = with stdenv.lib; {
homepage = https://github.com/pothosware/SoapyRTLSDR;
description = "SoapySDR plugin for RTL-SDR devices";
license = licenses.mit;
maintainers = with maintainers; [ ragge ];
platforms = platforms.linux;
};
}

View File

@ -12407,10 +12407,13 @@ in
soapybladerf
soapyhackrf
soapyremote
soapyrtlsdr
soapyuhd
];
};
soapyrtlsdr = callPackage ../applications/misc/soapyrtlsdr { };
soapyuhd = callPackage ../applications/misc/soapyuhd { };
socket_wrapper = callPackage ../development/libraries/socket_wrapper { };