3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #47500 from ma9e/libimagequant

libimagequant: init at 2.12.1
This commit is contained in:
Sarah Brofeldt 2018-10-03 10:27:57 +02:00 committed by GitHub
commit 2dd69e8d8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View file

@ -2447,6 +2447,11 @@
github = "ma27";
name = "Maximilian Bosch";
};
ma9e = {
email = "sean@lfo.team";
github = "ma9e";
name = "Sean Haugh";
};
madjar = {
email = "georges.dubus@compiletoi.net";
github = "madjar";

View file

@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub, unzip }:
with stdenv;
let
version = "2.12.1";
in
mkDerivation {
name = "libimagequant-${version}";
src = fetchFromGitHub {
owner = "ImageOptim";
repo = "libimagequant";
rev = "${version}";
sha256 = "0r7zgsnhqci2rjilh9bzw43miwp669k6b7q16hdjzrq4nr0xpvbl";
};
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 ];
};
}

View file

@ -10748,6 +10748,8 @@ with pkgs;
libiec61883 = callPackage ../development/libraries/libiec61883 { };
libimagequant = callPackage ../development/libraries/libimagequant {};
libinfinity = callPackage ../development/libraries/libinfinity { };
libinput = callPackage ../development/libraries/libinput {