soapyuhd: 0.3.6 -> 0.4.1

This commit is contained in:
Markus Kowalewski 2020-12-27 02:58:46 +01:00
parent 5afb1fed39
commit a915c8f33b
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB

@ -1,22 +1,19 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig
{ stdenv, fetchFromGitHub, cmake, pkg-config
, uhd, boost, soapysdr
} :
let
version = "0.3.6";
in stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "soapyuhd";
inherit version;
version = "0.4.1";
src = fetchFromGitHub {
owner = "pothosware";
repo = "SoapyUHD";
rev = "soapy-uhd-${version}";
sha256 = "11kp5iv21k8lqwjjydzqmcxdgpm6yicw6d3jhzvcvwcavd41crs7";
sha256 = "14rk9ap9ayks2ma6mygca08yfds9bgfmip8cvwl87l06hwhnlwhj";
};
nativeBuildInputs = [ cmake pkgconfig ];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ uhd boost soapysdr ];
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];