diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-06-01 04:56:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-01 04:56:58 -0500 |
commit | c8861f3bee1da6fc8f9fc9db759505b6325ce1ae (patch) | |
tree | 6bc0582661e4604c72376f90e8aee55bff9af959 | |
parent | 4ab1c14714fc97a27655f3a6877386da3cb237bc (diff) | |
parent | 788b13d3a1b2af1babf46c2ac84f690fd7dde9a0 (diff) | |
download | nixlib-c8861f3bee1da6fc8f9fc9db759505b6325ce1ae.tar nixlib-c8861f3bee1da6fc8f9fc9db759505b6325ce1ae.tar.gz nixlib-c8861f3bee1da6fc8f9fc9db759505b6325ce1ae.tar.bz2 nixlib-c8861f3bee1da6fc8f9fc9db759505b6325ce1ae.tar.lz nixlib-c8861f3bee1da6fc8f9fc9db759505b6325ce1ae.tar.xz nixlib-c8861f3bee1da6fc8f9fc9db759505b6325ce1ae.tar.zst nixlib-c8861f3bee1da6fc8f9fc9db759505b6325ce1ae.zip |
Merge pull request #62342 from marsam/update-libimagequant
libimagequant: 2.12.2 -> 2.12.3
-rw-r--r-- | pkgs/development/libraries/libimagequant/default.nix | 47 |
1 files changed, 22 insertions, 25 deletions
diff --git a/pkgs/development/libraries/libimagequant/default.nix b/pkgs/development/libraries/libimagequant/default.nix index ccd52f81d111..83afd26bf1d3 100644 --- a/pkgs/development/libraries/libimagequant/default.nix +++ b/pkgs/development/libraries/libimagequant/default.nix @@ -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 ]; + }; +} |