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