libimagequant: 2.12.2 -> 2.12.3

This commit is contained in:
Mario Rodas 2019-05-31 22:13:43 -05:00
parent ab421c0dc7
commit 788b13d3a1
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

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 ];
};
}