aspcud: fix build with cmake4

This commit is contained in:
Sigmanificient
2025-10-12 23:54:54 +02:00
parent d17d4a50bd
commit 60aa42accf

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
'';