2016-06-24 14:08:16 +01:00
|
|
|
{ stdenv, fetchurl, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "htslib";
|
2016-12-23 21:26:44 +00:00
|
|
|
version = "1.3.2";
|
2016-06-24 14:08:16 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/samtools/${pname}/releases/download/${version}/${name}.tar.bz2";
|
2016-12-23 21:26:44 +00:00
|
|
|
sha256 = "0iq3blw23s55vkr1z88p9y2dqrb2dybzhl6hz2nlk53ncihrxcdr";
|
2016-06-24 14:08:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A C library for reading/writing high-throughput sequencing data";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = http://www.htslib.org/;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.mimadrid ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|