soapyhackrf: backport cmake < 3.5 fix

This commit is contained in:
cyclopentane
2025-10-10 09:31:44 +02:00
parent 8ac6ff699f
commit 7746d906b4
+8
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
pkg-config,
hackrf,
@@ -32,6 +33,13 @@ stdenv.mkDerivation {
soapysdr
];
patches = [
(fetchpatch {
url = "https://github.com/pothosware/SoapyHackRF/commit/143ff5e7e0f786e341df8846c04e8273c5183c26.patch";
hash = "sha256-8tMN6uEWUt1sUC45kBM6WHXDd/oTFyo6u+NpVPg+z5Q=";
})
];
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
meta = with lib; {