mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
d80d9aa3ba
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libimagequant/versions
30 lines
774 B
Nix
30 lines
774 B
Nix
{ stdenv, fetchFromGitHub, unzip }:
|
|
|
|
with stdenv;
|
|
|
|
let
|
|
version = "2.12.2";
|
|
in
|
|
mkDerivation {
|
|
name = "libimagequant-${version}";
|
|
src = fetchFromGitHub {
|
|
owner = "ImageOptim";
|
|
repo = "libimagequant";
|
|
rev = "${version}";
|
|
sha256 = "1k61ifcjbp2lcrwqidflj99inkyhpbrw0hl1nzq1rjp5dnw2y5lw";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|