libzip: 1.10.1 -> 1.11.1

Changes: https://github.com/nih-at/libzip/releases/tag/v1.11.1
This commit is contained in:
Sergei Trofimovich 2024-09-20 21:54:04 +01:00
parent fed418aaf1
commit 0769507dfd

View File

@ -1,6 +1,5 @@
{ lib, stdenv
, cmake
, fetchpatch2
, fetchurl
, perl
, zlib
@ -18,22 +17,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libzip";
version = "1.10.1";
version = "1.11.1";
src = fetchurl {
url = "https://libzip.org/download/libzip-${finalAttrs.version}.tar.gz";
sha256 = "sha256-lmmuXf46xbOJdTbchGaodMjPLA47H90I11snOIQpk2M=";
hash = "sha256-wOb6UqYroR79MCYikNxpcJR67zLgzClO5Q6QBc6sCSo=";
};
patches = [
# https://github.com/nih-at/libzip/issues/404
(fetchpatch2 {
name = "Check-for-zstd_TARGET-before-using-it-in-a-regex.patch";
url = "https://github.com/nih-at/libzip/commit/c719428916b4d19e838f873b1a177b126a080d61.patch";
hash = "sha256-4ksbXEM8kNvs3wtbIaXLEQNSKaxl0es/sIg0EINaTHE=";
})
];
outputs = [ "out" "dev" "man" ];
nativeBuildInputs = [ cmake perl groff ];