arjun-cnf: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-22 08:03:08 -03:00
parent ca1811bd0c
commit 9f62ff9ffd

View File

@@ -38,6 +38,11 @@ stdenv.mkDerivation (finalAttrs: {
louvain-community
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.3 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
description = "CNF minimizer and minimal independent set calculator";
homepage = "https://github.com/meelgroup/arjun";