edlib: fix build with cmake

This commit is contained in:
Sigmanificient
2025-10-16 11:09:18 +02:00
parent 4cd7c037c2
commit 0897ebc3e2
+10
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
}:
@@ -16,6 +17,15 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-XejxohLVdBBzpYZ//OpqC1ActmCaZ8tunJyhOYtZmKQ=";
};
patches = [
# Bump minimum CMake version to 3.20
(fetchpatch {
name = "bump-cmake-version.patch";
url = "https://github.com/Martinsos/edlib/commit/47359e591f3861f12105fa8e72242de64d5597c4.patch?full_index=1";
hash = "sha256-Efbv8XYF1jOz6MypIyhfFJGQQt8gTYNZRd+R8ukIf3o=";
})
];
nativeBuildInputs = [ cmake ];
doCheck = true;