aspcud: fix build with cmake4 (#451476)

This commit is contained in:
Yaya
2025-10-14 11:54:33 +00:00
committed by GitHub
+10
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
boost,
catch2,
cmake,
@@ -20,6 +21,15 @@ stdenv.mkDerivation rec {
hash = "sha256-PdRfpmH7zF5dn+feoijtzdSUjaYhjHwyAUfuYoWCL9E=";
};
patches = [
# Bump minimal version of cmake to 3.10
(fetchpatch {
url = "https://github.com/potassco/aspcud/commit/d88c1aad6f9c1c0081aa1a0eea94ecc7d4ebf855.patch?full_index=1";
hash = "sha256-JDNpXLb3ow4JnsZrQ8HqGrRpf/6H/ozJca52pIRVo2w=";
excludes = [ "cmake/FindRE2C.cmake" ];
})
];
postPatch = ''
cp ${catch2}/include/catch2/catch.hpp libcudf/tests/catch.hpp
'';