soapyremote: backport cmake < 3.5.0 fix
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
soapysdr,
|
||||
avahi,
|
||||
@@ -28,6 +29,13 @@ stdenv.mkDerivation {
|
||||
avahi
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/pothosware/SoapyRemote/commit/40c3ef9053b63885b7444ce7e9ef00d2c7964c9d.patch";
|
||||
hash = "sha256-kEx4gge+AQW/LSUyo+aWXlqDzXjoxCfn3pi2mk5xsNI=";
|
||||
})
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (
|
||||
|
||||
Reference in New Issue
Block a user