1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/tools/graphics/pngcrush/default.nix
2014-05-19 15:36:12 +02:00

25 lines
571 B
Nix

{ stdenv, fetchurl, libpng }:
stdenv.mkDerivation rec {
name = "pngcrush-1.7.73";
src = fetchurl {
url = "mirror://sourceforge/pmt/${name}-nolib.tar.xz";
sha256 = "073y19af0sw36nw7draqw9zfd6n7q7b84kscy26s76fhj5x2gb0l";
};
configurePhase = ''
sed -i s,/usr,$out, Makefile
'';
buildInputs = [ libpng ];
meta = {
homepage = http://pmt.sourceforge.net/pngcrush;
description = "A PNG optimizer";
license = "free";
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
};
}