Merge pull request #225865 from bzizou/samtools

samtools: 1.13 -> 1.17
This commit is contained in:
Robert Scott
2023-04-13 00:10:42 +01:00
committed by GitHub
2 changed files with 4 additions and 13 deletions
@@ -2,22 +2,13 @@
stdenv.mkDerivation rec {
pname = "samtools";
version = "1.13";
version = "1.17";
src = fetchurl {
url = "https://github.com/samtools/samtools/releases/download/${version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-YWyi4FHMgAmh6cAc/Yx8r4twkW3f9m87dpFAeUZfjGA=";
sha256 = "sha256-Ot85C2KCGf1kCPFGAqTEqpDmPhizldrXIqtRlDiipyk";
};
patches = [
# Pull upstream patch for ncurses-6.3 support
(fetchpatch {
name = "ncurses-6.3.patch";
url = "https://github.com/samtools/samtools/commit/396ef20eb0854d6b223c3223b60bb7efe42301f7.patch";
sha256 = "sha256-p0l9ymXK9nqL2w8EytbW+qeaI7dD86IQgIVxacBj838=";
})
];
# tests require `bgzip` from the htslib package
nativeCheckInputs = [ htslib ];
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "htslib";
version = "1.16";
version = "1.17";
src = fetchurl {
url = "https://github.com/samtools/htslib/releases/download/${version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-YGt8ev9zc0zwM+zRVvQFKfpXkvVFJJUqKJOMoIkNeSQ=";
sha256 = "sha256-djd5KIxA8HZG7HrZi5bDeMc5Fx0WKtmDmIaHg7chg58";
};
# perl is only used during the check phase.