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 substituteInPlace $out/lib/cmake/${pname}/${pname}-targets.cmake \
20 --replace 'set(_IMPORT_PREFIX' '#set(_IMPORT_PREFIX'
23 doCheck = !stdenv.hostPlatform.isDarwin;
25 meta = bpp-core.meta // {
26 homepage = "https://github.com/BioPP/bpp-phyl";
27 changelog = "https://github.com/BioPP/bpp-phyl/blob/master/ChangeLog";