htslib: 1.3.2 -> 1.4
This commit is contained in:
parent
f0fac3b578
commit
295a23a2db
@ -1,16 +1,21 @@
|
|||||||
{ stdenv, fetchurl, zlib }:
|
{ stdenv, fetchurl, zlib, bzip2, lzma, curl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
version = "${major}.0";
|
||||||
pname = "htslib";
|
pname = "htslib";
|
||||||
version = "1.3.2";
|
major = "1.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/samtools/${pname}/releases/download/${version}/${name}.tar.bz2";
|
url = "https://github.com/samtools/htslib/releases/download/${major}/htslib-${major}.tar.bz2";
|
||||||
sha256 = "0iq3blw23s55vkr1z88p9y2dqrb2dybzhl6hz2nlk53ncihrxcdr";
|
sha256 = "0l1ki3sqfhawfn7fx9v7i2pm725jki4c5zij9j96xka5zwc8iz2w";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ zlib ];
|
buildInputs = [ zlib bzip2 lzma curl ];
|
||||||
|
|
||||||
|
configureFlags = "--enable-libcurl"; # optional but strongly recommended
|
||||||
|
|
||||||
|
installFlags = "prefix=$(out)";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A C library for reading/writing high-throughput sequencing data";
|
description = "A C library for reading/writing high-throughput sequencing data";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user