bcftools: 1.3.1 -> 1.4

This commit is contained in:
mimadrid 2017-05-07 22:31:35 +02:00 committed by Jörg Thalheim
parent 9073e67568
commit 8d1bebf83c
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -1,16 +1,17 @@
{ stdenv, fetchurl, zlib, htslib }:
{ stdenv, fetchurl, htslib, zlib, bzip2, lzma, perl }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "bcftools";
version = "1.3.1";
major = "1.4";
version = "${major}.0";
src = fetchurl {
url = "https://github.com/samtools/${pname}/releases/download/${version}/${name}.tar.bz2";
sha256 = "095ry68vmz9q5s1scjsa698dhgyvgw5aicz24c19iwfbai07mhqj";
url = "https://github.com/samtools/bcftools/releases/download/${major}/bcftools-${major}.tar.bz2";
sha256 = "0k93mq3lf73dch81p4zxi0bdll567acxfa81qzbzkqflgsjb1ccg";
};
buildInputs = [ zlib ];
buildInputs = [ zlib bzip2 lzma perl ];
makeFlags = [
"HSTDIR=${htslib}"