1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
nixpkgs/pkgs/tools/graphics/pngcheck/default.nix
Jörg Thalheim 887295fd2d
treewide: remove the-kenny from maintainers
@the-kenny did a good job in the past and is set as maintainer in many package,
however since 2017-2018 he stopped contributing. To create less confusion
in pull requests when people try to request his feedback, I removed him as
maintainer from all packages.
2020-05-09 10:28:57 +01:00

30 lines
689 B
Nix

{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
name = "pngcheck-2.3.0";
src = fetchurl {
url = "mirror://sourceforge/png-mng/${name}.tar.gz";
sha256 = "0pzkj1bb4kdybk6vbfq9s0wzdm5szmrgixkas3xmbpv4mhws1w3p";
};
hardeningDisable = [ "format" ];
makefile = "Makefile.unx";
makeFlags = [ "ZPATH=${zlib.static}/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;
};
}