bpp-seq: init at 2.4.1

This commit is contained in:
Ben Darwin 2020-03-09 21:59:36 -04:00
parent adc7b4c979
commit 8d712ccc16
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ stdenv, fetchFromGitHub, cmake, bpp-core }:
stdenv.mkDerivation rec {
pname = "bpp-seq";
inherit (bpp-core) version;
src = fetchFromGitHub {
owner = "BioPP";
repo = pname;
rev = "v${version}";
sha256 = "1mc09g8jswzsa4wgrfv59jxn15ys3q8s0227p1j838wkphlwn2qk";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ bpp-core ];
preCheck = ''
export LD_LIBRARY_PATH=$(pwd)/src
'';
postFixup = ''
substituteInPlace $out/lib/cmake/${pname}/${pname}-targets.cmake \
--replace 'set(_IMPORT_PREFIX' '#set(_IMPORT_PREFIX'
'';
# prevents cmake from exporting incorrect INTERFACE_INCLUDE_DIRECTORIES
# of form /nix/store/.../nix/store/.../include,
# probably due to relative vs absolute path issue
doCheck = !stdenv.isDarwin;
meta = bpp-core.meta // {
changelog = "https://github.com/BioPP/bpp-seq/blob/master/ChangeLog";
};
}

View File

@ -24392,6 +24392,8 @@ in
bpp-core = callPackage ../development/libraries/science/biology/bpp-core { };
bpp-seq = callPackage ../development/libraries/science/biology/bpp-seq { };
cd-hit = callPackage ../applications/science/biology/cd-hit { };
cmtk = callPackage ../applications/science/biology/cmtk { };