Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
bpp-phyl: init at 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdarwin committed May 26, 2020
1 parent 8d712cc commit a53b278
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/development/libraries/science/biology/bpp-phyl/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub, cmake, bpp-core, bpp-seq }:

stdenv.mkDerivation rec {
pname = "bpp-phyl";

inherit (bpp-core) version;

src = fetchFromGitHub {
owner = "BioPP";
repo = pname;
rev = "v${version}";
sha256 = "192zks6wyk903n06c2lbsscdhkjnfwms8p7jblsmk3lvjhdipb20";
};

nativeBuildInputs = [ cmake ];
buildInputs = [ bpp-core bpp-seq ];

preCheck = ''
export LD_LIBRARY_PATH=$(pwd)/src
'';

postFixup = ''
substituteInPlace $out/lib/cmake/${pname}/${pname}-targets.cmake \
--replace 'set(_IMPORT_PREFIX' '#set(_IMPORT_PREFIX'
'';

doCheck = !stdenv.isDarwin;

meta = bpp-core.meta // {
changelog = "https://github.com/BioPP/bpp-phyl/blob/master/ChangeLog";
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24392,6 +24392,8 @@ in

bpp-core = callPackage ../development/libraries/science/biology/bpp-core { };

bpp-phyl = callPackage ../development/libraries/science/biology/bpp-phyl { };

bpp-seq = callPackage ../development/libraries/science/biology/bpp-seq { };

cd-hit = callPackage ../applications/science/biology/cd-hit { };
Expand Down

0 comments on commit a53b278

Please sign in to comment.