Unverified Commit ca1811bd authored by Rafael Ieda's avatar Rafael Ieda
Browse files

louvain-community: fix build with cmake4

parent b5d4fb5c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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";