Merge pull request #51580 from ragnard/soapyrtlsdr
soapyrtlsdr: init at 0.2.5
This commit is contained in:
commit
3861b9c19e
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -12407,10 +12407,13 @@ in
|
||||||
soapybladerf
|
soapybladerf
|
||||||
soapyhackrf
|
soapyhackrf
|
||||||
soapyremote
|
soapyremote
|
||||||
|
soapyrtlsdr
|
||||||
soapyuhd
|
soapyuhd
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
soapyrtlsdr = callPackage ../applications/misc/soapyrtlsdr { };
|
||||||
|
|
||||||
soapyuhd = callPackage ../applications/misc/soapyuhd { };
|
soapyuhd = callPackage ../applications/misc/soapyuhd { };
|
||||||
|
|
||||||
socket_wrapper = callPackage ../development/libraries/socket_wrapper { };
|
socket_wrapper = callPackage ../development/libraries/socket_wrapper { };
|
||||||
|
|
Loading…
Reference in New Issue