libpng: 1.6.39 -> 1.6.40

https://github.com/glennrp/libpng/blob/v1.6.40/CHANGES#L6124
This commit is contained in:
6t8k 2023-09-12 20:15:55 +02:00
parent 757197a9df
commit 72ea0d15d1
No known key found for this signature in database

View file

@ -3,20 +3,20 @@
assert zlib != null;
let
patchVersion = "1.6.39";
patchVersion = "1.6.40";
patch_src = fetchurl {
url = "mirror://sourceforge/libpng-apng/libpng-${patchVersion}-apng.patch.gz";
hash = "sha256-SsS26roAzeISxI22XLlCkQc/68oixcef2ocJFQLoDP0=";
hash = "sha256-CjykZIKTjY1sciZivtLH7gxlobViRESzztIa2NNW2y8=";
};
whenPatched = lib.optionalString apngSupport;
in stdenv.mkDerivation rec {
pname = "libpng" + whenPatched "-apng";
version = "1.6.39";
version = "1.6.40";
src = fetchurl {
url = "mirror://sourceforge/libpng/libpng-${version}.tar.xz";
hash = "sha256-H0aWznC07l+F8eFiPcEimyEAKfpLeu5XPfPiunsDaTc=";
hash = "sha256-U1tHmyRn/yMaPsbZKlJZBvuO8nl4vk9m2+BdPzoBs6E=";
};
postPatch = whenPatched "gunzip < ${patch_src} | patch -Np1";
@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
meta = with lib; {
description = "The official reference implementation for the PNG file format" + whenPatched " with animation patch";
homepage = "http://www.libpng.org/pub/png/libpng.html";
changelog = "https://github.com/glennrp/libpng/blob/v1.6.39/CHANGES";
changelog = "https://github.com/glennrp/libpng/blob/v1.6.40/CHANGES";
license = licenses.libpng2;
platforms = platforms.all;
maintainers = with maintainers; [ vcunat ];