soapyremote: backport cmake < 3.5.0 fix

This commit is contained in:
cyclopentane
2025-10-10 10:06:01 +02:00
parent 121cab05fe
commit e884274feb
+8
View File
@@ -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 (