samtools: 1.3.1 -> 1.4
This commit is contained in:
parent
295a23a2db
commit
9073e67568
@ -3,14 +3,15 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "samtools";
|
pname = "samtools";
|
||||||
version = "1.3.1";
|
major = "1.4";
|
||||||
|
version = "${major}.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/samtools/${pname}/releases/download/${version}/${name}.tar.bz2";
|
url = "https://github.com/samtools/samtools/releases/download/${major}/samtools-${major}.tar.bz2";
|
||||||
sha256 = "0znnnxc467jbf1as2dpskrjhfh8mbll760j6w6rdkwlwbqsp8gbc";
|
sha256 = "1x73c0lxvd58ghrmaqqyp56z7bkmp28a71fk4ap82j976pw5pbls";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ zlib ncurses htslib ];
|
buildInputs = [ zlib ncurses ];
|
||||||
|
|
||||||
configureFlags = [ "--with-htslib=${htslib}" ]
|
configureFlags = [ "--with-htslib=${htslib}" ]
|
||||||
++ stdenv.lib.optional (ncurses == null) "--without-curses";
|
++ stdenv.lib.optional (ncurses == null) "--without-curses";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user