megahit: fix build with cmake4 (#454580)
This commit is contained in:
@@ -34,6 +34,12 @@ stdenv.mkDerivation rec {
|
||||
cmakeFlags = lib.optionals stdenv.hostPlatform.isStatic [
|
||||
"-DSTATIC_BUILD=ON"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 2.8)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Ultra-fast single-node solution for large and complex metagenomics assembly via succinct de Bruijn graph";
|
||||
license = licenses.gpl3;
|
||||
|
||||
Reference in New Issue
Block a user