hh-suite: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-21 10:06:06 -03:00
parent 0720d4cf7a
commit 7a1d881baf
@@ -41,6 +41,13 @@ stdenv.mkDerivation rec {
buildInputs = lib.optional stdenv.cc.isClang openmp ++ lib.optional enableMpi mpi;
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 2.8.12)" "cmake_minimum_required(VERSION 3.10)"
substituteInPlace lib/ffindex/CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
description = "Remote protein homology detection suite";
homepage = "https://github.com/soedinglab/hh-suite";