soapybladerf: backport cmake < 3.5.0 fix

This commit is contained in:
cyclopentane
2025-10-10 09:54:22 +02:00
parent c6ceb03fdf
commit 83d4b6297f
+8
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
pkg-config,
libbladeRF,
@@ -32,6 +33,13 @@ stdenv.mkDerivation {
soapysdr
];
patches = [
(fetchpatch {
url = "https://github.com/pothosware/SoapyBladeRF/commit/f141b61624f24a56aa3bdf7b0cc61c9fa65c26a3.patch";
hash = "sha256-szqHbSAHiK0F83bxYnrblEBi/U7tpD0AXotYV1eTFxU=";
})
];
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
meta = with lib; {