mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
Merge pull request #62342 from marsam/update-libimagequant
libimagequant: 2.12.2 -> 2.12.3
This commit is contained in:
commit
c8861f3bee
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user