pngquant: 2.12.5 -> 2.14.1 (#121470)

This commit is contained in:
Mario Rodas 2021-05-02 16:59:08 -05:00 committed by GitHub
parent d942d4473d
commit 8b0515eb9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pngquant"; pname = "pngquant";
version = "2.12.5"; version = "2.14.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pornel"; owner = "kornelski";
repo = "pngquant"; repo = "pngquant";
rev = version; rev = version;
sha256 = "0sq398iv5cacblz6pb4j2hn16cnszsbkahikdpfq84rb9bj0ya40"; sha256 = "054hi33qp3jc7hv0141wi8drwdg24v5zfp8znwjmz4mcdls8vxbb";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -17,11 +17,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ libpng zlib lcms2 ]; buildInputs = [ libpng zlib lcms2 ];
doCheck = true;
meta = with lib; { meta = with lib; {
homepage = "https://pngquant.org/"; homepage = "https://pngquant.org/";
description = "A tool to convert 24/32-bit RGBA PNGs to 8-bit palette with alpha channel preserved"; description = "A tool to convert 24/32-bit RGBA PNGs to 8-bit palette with alpha channel preserved";
changelog = "https://github.com/kornelski/pngquant/raw/${version}/CHANGELOG";
platforms = platforms.unix; platforms = platforms.unix;
license = licenses.gpl3; license = with licenses; [ gpl3Plus hpnd bsd2 ];
maintainers = [ maintainers.volth ]; maintainers = [ maintainers.volth ];
}; };
} }