mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Merge pull request #51580 from ragnard/soapyrtlsdr
soapyrtlsdr: init at 0.2.5
This commit is contained in:
commit
3861b9c19e
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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user