biodbhts : init at 3.01

Read files using HTSlib
This commit is contained in:
Alexis Praga 2022-08-13 15:46:59 +00:00
parent fc861d3e06
commit 5a7558f2b0

View file

@ -1624,6 +1624,34 @@ let
BioExtAlign = callPackage ../development/perl-modules/Bio-Ext-Align { };
BioDBHTS = buildPerlModule {
pname = "Bio-DB-HTS";
version = "3.01";
src = fetchurl {
url = "mirror://cpan/authors/id/A/AV/AVULLO/Bio-DB-HTS-3.01.tar.gz";
sha256 = "12a6bc1f579513cac8b9167cce4e363655cc8eba26b7d9fe1170dfe95e044f42";
};
buildInputs = [ pkgs.htslib pkgs.zlib ];
propagatedBuildInputs = [ BioPerl ];
htslibStore = toString pkgs.htslib;
postPatch = ''
# -Wl,-rpath not recognized : replaced by -rpath=
sed -i 's/Wl,-rpath,/rpath=/' Build.PL
'';
preBuild = ''
export HTSLIB_DIR=${pkgs.htslib}
'';
meta = {
description = "Perl interface to HTS library for DNA sequencing";
license = lib.licenses.asl20;
};
};
BioPerl = buildPerlPackage {
pname = "BioPerl";
version = "1.7.8";