1 { stdenv, lib, fetchFromGitHub, cmake, pkg-config, soapysdr, sdrplay }:
3 stdenv.mkDerivation rec {
4 pname = "soapysdr-sdrplay3";
7 src = fetchFromGitHub {
9 repo = "SoapySDRPlay3";
10 rev = "soapy-sdrplay3-${version}";
11 sha256 = "sha256-WMcAw0uR2o2SrQR4mBtdVEZlJ/ZXRqwo6zMJNsB/5U4=";
14 nativeBuildInputs = [ cmake pkg-config ];
16 buildInputs = [ soapysdr sdrplay ];
19 "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/"
23 description = "Soapy SDR module for SDRplay";
24 homepage = "https://github.com/pothosware/SoapySDRPlay3";
25 license = licenses.mit;
26 maintainers = [ maintainers.pmenke ];
27 platforms = platforms.linux;