3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #220566 from felixsinger/pkgs/minizip-ng/update

minizip-ng: 3.0.7 -> 3.0.8
This commit is contained in:
Robert Scott 2023-03-11 16:31:59 +00:00 committed by GitHub
commit 5d6d90c3bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,30 +14,15 @@
stdenv.mkDerivation (finalAttrs: {
pname = "minizip-ng";
version = "3.0.7";
version = "3.0.8";
src = fetchFromGitHub {
owner = "zlib-ng";
repo = finalAttrs.pname;
rev = finalAttrs.version;
sha256 = "sha256-m/zSVx8vYzLA23Cusd1p/ZSGd1mV3gM6UqDnmEXqpq4=";
sha256 = "sha256-Vzp+5fQBJoO1pG7j8LwC2/B/cOgM/exhKyb3zHuy89Y=";
};
patches = [
(fetchpatch {
name = "find-system-gtest.patch";
url = "https://github.com/zlib-ng/minizip-ng/commit/be23c8d3b7e2cb5ba619e60517cad277ee510fb7.patch";
sha256 = "sha256-azwrGj6kgTyTepGAmOlxDOFOwJKQE5J2bwUIn6sgKUY=";
})
# otherwise signing unit tests fail
(fetchpatch {
name = "disable-mz-signing-by-default.patch";
url = "https://github.com/zlib-ng/minizip-ng/commit/60649ada97581afc0bc2fffc50ce402ff1e6df5d.patch";
sha256 = "sha256-bHGM4H8RPYkfAjxcS1bPohR9IFOFT0Mx4Mg34UnnD+w=";
})
];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ zlib bzip2 xz zstd openssl ];