1 { stdenv, fetchFromGitHub, cmake, bpp-core, bpp-seq }:
3 stdenv.mkDerivation rec {
6 inherit (bpp-core) version;
8 src = fetchFromGitHub {
12 sha256 = "192zks6wyk903n06c2lbsscdhkjnfwms8p7jblsmk3lvjhdipb20";
15 nativeBuildInputs = [ cmake ];
16 buildInputs = [ bpp-core bpp-seq ];
19 export LD_LIBRARY_PATH=$(pwd)/src
23 substituteInPlace $out/lib/cmake/${pname}/${pname}-targets.cmake \
24 --replace 'set(_IMPORT_PREFIX' '#set(_IMPORT_PREFIX'
27 doCheck = !stdenv.isDarwin;
29 meta = bpp-core.meta // {
30 changelog = "https://github.com/BioPP/bpp-phyl/blob/master/ChangeLog";