htslib: 1.21 -> 1.22 (#412361)

This commit is contained in:
Weijia Wang
2025-07-01 06:05:59 +02:00
committed by GitHub
+10 -2
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch,
zlib,
bzip2,
xz,
@@ -11,13 +12,20 @@
stdenv.mkDerivation rec {
pname = "htslib";
version = "1.21";
version = "1.22";
src = fetchurl {
url = "https://github.com/samtools/htslib/releases/download/${version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-hLUQ5zX0ljZB8m/YjIq97oH/TLYhaDEK5xZjaqwPGCM=";
hash = "sha256-YlDB3yl9tHdRbmCsjfRe11plLR8lsPN/EvWxcmnq/ek=";
};
patches = [
(fetchpatch {
url = "https://github.com/samtools/htslib/commit/31006e1c8edd02eb6321ed9be76b84fca5d20cb6.patch";
hash = "sha256-sbnkVmXIbs/Cn/msUUrJpJZCI2DHX5kpGSka2cccZIQ=";
})
];
# perl is only used during the check phase.
nativeBuildInputs = [ perl ];