mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
samtools: 1.3.1 -> 1.4
This commit is contained in:
parent
295a23a2db
commit
9073e67568
@ -3,14 +3,15 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "samtools";
|
||||
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 = "0znnnxc467jbf1as2dpskrjhfh8mbll760j6w6rdkwlwbqsp8gbc";
|
||||
url = "https://github.com/samtools/samtools/releases/download/${major}/samtools-${major}.tar.bz2";
|
||||
sha256 = "1x73c0lxvd58ghrmaqqyp56z7bkmp28a71fk4ap82j976pw5pbls";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib ncurses htslib ];
|
||||
buildInputs = [ zlib ncurses ];
|
||||
|
||||
configureFlags = [ "--with-htslib=${htslib}" ]
|
||||
++ stdenv.lib.optional (ncurses == null) "--without-curses";
|
||||
|
Loading…
Reference in New Issue
Block a user