Unverified Commit 6f0cdeea authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #186459 from apraga/biodbhts-3.01

BioDBHTS : init 3.01
parents 3db8340b 5a7558f2
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -1623,6 +1623,34 @@ with self; {
  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";