hh-suite: fix build with cmake4 (#454197)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user