3
0
Fork 0
forked from mirrors/nixpkgs

soapyrtlsdr: init at 0.2.5

This commit is contained in:
Ragnar Dahlén 2018-12-05 19:01:15 +01:00
parent da511852c1
commit 963b113a35
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

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