pngcheck: New package.
This commit is contained in:
parent
4fe3e44645
commit
77049af46f
32
pkgs/tools/graphics/pngcheck/default.nix
Normal file
32
pkgs/tools/graphics/pngcheck/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ stdenv, fetchurl, zlib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "pngcheck-2.3.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/png-mng/${name}.tar.gz";
|
||||||
|
sha256 = "0pzkj1bb4kdybk6vbfq9s0wzdm5szmrgixkas3xmbpv4mhws1w3p";
|
||||||
|
};
|
||||||
|
|
||||||
|
# configurePhase = ''
|
||||||
|
# sed -i s,/usr,$out, Makefile
|
||||||
|
# '';
|
||||||
|
|
||||||
|
makefile = "Makefile.unx";
|
||||||
|
makeFlags = "ZPATH=${zlib}/lib";
|
||||||
|
|
||||||
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin/
|
||||||
|
cp pngcheck $out/bin/pngcheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://pmt.sourceforge.net/pngcrush;
|
||||||
|
description = "Verifies the integrity of PNG, JNG and MNG files";
|
||||||
|
license = stdenv.lib.licenses.free;
|
||||||
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
||||||
|
};
|
||||||
|
}
|
@ -2118,6 +2118,8 @@ let
|
|||||||
|
|
||||||
plowshare = callPackage ../tools/misc/plowshare { };
|
plowshare = callPackage ../tools/misc/plowshare { };
|
||||||
|
|
||||||
|
pngcheck = callPackage ../tools/graphics/pngcheck { };
|
||||||
|
|
||||||
pngcrush = callPackage ../tools/graphics/pngcrush { };
|
pngcrush = callPackage ../tools/graphics/pngcrush { };
|
||||||
|
|
||||||
pngnq = callPackage ../tools/graphics/pngnq { };
|
pngnq = callPackage ../tools/graphics/pngnq { };
|
||||||
|
Loading…
Reference in New Issue
Block a user