evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / bp / bpp-phyl / package.nix
blob62425161747967511f502ae50a3244e1b6ef0c8d
1 { stdenv, fetchFromGitHub, cmake, bpp-core, bpp-seq }:
3 stdenv.mkDerivation rec {
4   pname = "bpp-phyl";
6   inherit (bpp-core) version;
8   src = fetchFromGitHub {
9     owner = "BioPP";
10     repo = pname;
11     rev = "v${version}";
12     sha256 = "192zks6wyk903n06c2lbsscdhkjnfwms8p7jblsmk3lvjhdipb20";
13   };
15   nativeBuildInputs = [ cmake ];
16   buildInputs = [ bpp-core bpp-seq ];
18   postFixup = ''
19     substituteInPlace $out/lib/cmake/${pname}/${pname}-targets.cmake  \
20       --replace 'set(_IMPORT_PREFIX' '#set(_IMPORT_PREFIX'
21   '';
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";
28   };