Unverified Commit 730ddde6 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

louvain-community, arjun-cnf: fix build with cmake4 (#454506)

parents bda98b1d 9f62ff9f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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";
+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";