Commit 5a7558f2 authored by Alexis Praga's avatar Alexis Praga
Browse files

biodbhts : init at 3.01

Read files using HTSlib
parent fc861d3e
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -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";