louvain-community: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-22 07:17:54 -03:00
parent b5d4fb5c91
commit ca1811bd0c

View File

@@ -21,6 +21,11 @@ stdenv.mkDerivation (finalAttrs: {
passthru.updateScript = unstableGitUpdater { };
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.3 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
description = "Louvain Community Detection Library";
homepage = "https://github.com/meelgroup/louvain-community";