Merge pull request #62342 from marsam/update-libimagequant

libimagequant: 2.12.2 -> 2.12.3
This commit is contained in:
Mario Rodas 2019-06-01 04:56:58 -05:00 committed by GitHub
commit c8861f3bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,29 +1,26 @@
{ stdenv, fetchFromGitHub, unzip }: { stdenv, fetchFromGitHub }:
with stdenv; stdenv.mkDerivation rec {
pname = "libimagequant";
version = "2.12.3";
let src = fetchFromGitHub {
version = "2.12.2"; owner = "ImageOptim";
in repo = pname;
mkDerivation { rev = version;
name = "libimagequant-${version}"; sha256 = "0qsfq1kv1m5jzn9v9iz0bac66k4clcis1c9877qabnwzwmwma5v0";
src = fetchFromGitHub { };
owner = "ImageOptim";
repo = "libimagequant";
rev = "${version}";
sha256 = "1k61ifcjbp2lcrwqidflj99inkyhpbrw0hl1nzq1rjp5dnw2y5lw";
};
preConfigure = '' preConfigure = ''
patchShebangs ./configure patchShebangs ./configure
''; '';
meta = { meta = with stdenv.lib; {
homepage = https://pngquant.org/lib/; homepage = "https://pngquant.org/lib/";
description = "Image quantization library"; description = "Image quantization library";
longDescription = "Small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images."; longDescription = "Small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images.";
license = lib.licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = lib.platforms.unix; platforms = platforms.unix;
maintainers = with lib.maintainers; [ ma9e ]; maintainers = with maintainers; [ ma9e marsam ];
}; };
} }