forked from mirrors/nixpkgs
soapyrtlsdr: init at 0.2.5
This commit is contained in:
parent
da511852c1
commit
963b113a35
30
pkgs/applications/misc/soapyrtlsdr/default.nix
Normal file
30
pkgs/applications/misc/soapyrtlsdr/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue