mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
Merge pull request #12266 from zimbatm/pngcrush-1.7.92
Pngcrush updates
This commit is contained in:
commit
b1d3c8b64f
@ -1,13 +1,15 @@
|
||||
{ stdenv, fetchurl, libpng }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pngcrush-1.7.85";
|
||||
name = "pngcrush-1.7.92";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pmt/${name}-nolib.tar.xz";
|
||||
sha256 = "1hvcync32x2ign694scafkj7xc73gzyy8n2l5z026yxckilyyv19";
|
||||
sha256 = "0dlwbqckv90cpvg8qhkl3nk5yb75ddi61vbpmmp9n0j6qq9lp6y4";
|
||||
};
|
||||
|
||||
makeFlags = [ "CC=cc" "LD=cc" ]; # gcc and/or clang compat
|
||||
|
||||
configurePhase = ''
|
||||
sed -i s,/usr,$out, Makefile
|
||||
'';
|
||||
@ -18,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://pmt.sourceforge.net/pngcrush;
|
||||
description = "A PNG optimizer";
|
||||
license = stdenv.lib.licenses.free;
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user