bppsuite: fix build (#450255)
This commit is contained in:
@@ -24,11 +24,16 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt --replace-fail \
|
||||
'cmake_minimum_required (VERSION 2.8.11)' 'cmake_minimum_required (VERSION 4.1)'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace $out/lib/cmake/bpp-core/bpp-core-targets.cmake \
|
||||
--replace 'set(_IMPORT_PREFIX' '#set(_IMPORT_PREFIX'
|
||||
--replace-fail 'set(_IMPORT_PREFIX' '#set(_IMPORT_PREFIX'
|
||||
'';
|
||||
# prevents cmake from exporting incorrect INTERFACE_INCLUDE_DIRECTORIES
|
||||
# of form /nix/store/.../nix/store/.../include,
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bpp-phyl";
|
||||
|
||||
inherit (bpp-core) version;
|
||||
inherit (bpp-core) version postPatch;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BioPP";
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bpp-popgen";
|
||||
|
||||
inherit (bpp-core) version;
|
||||
inherit (bpp-core) version postPatch;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BioPP";
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bpp-seq";
|
||||
|
||||
inherit (bpp-core) version;
|
||||
inherit (bpp-core) version postPatch;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BioPP";
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
texinfo,
|
||||
bpp-core,
|
||||
bpp-seq,
|
||||
bpp-phyl,
|
||||
@@ -11,7 +12,7 @@
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bppsuite";
|
||||
|
||||
inherit (bpp-core) version;
|
||||
inherit (bpp-core) version postPatch;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BioPP";
|
||||
@@ -20,7 +21,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1wdwcgczqbc3m116vakvi0129wm3acln3cfc7ivqnalwvi6lrpds";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
texinfo
|
||||
];
|
||||
buildInputs = [
|
||||
bpp-core
|
||||
bpp-seq
|
||||
|
||||
Reference in New Issue
Block a user