nixpkgs/pkgs/development/libraries/libpng/default.nix
Vladimír Čunát 364a853c99 libpng: major update to 1.6, enable the check phase
It builds on my machine, we'll see what other packages say on it.
2013-02-14 20:53:46 +01:00

25 lines
591 B
Nix

{ stdenv, fetchurl, zlib }:
assert zlib != null;
stdenv.mkDerivation rec {
name = "libpng-1.6.0";
src = fetchurl {
url = "mirror://sourceforge/libpng/${name}.tar.xz";
sha256 = "0yxr8hwmj57krqm14k636nnsgdzsryx9iwjzdfah6fq8449w64sy";
};
propagatedBuildInputs = [ zlib ];
doCheck = true;
passthru = { inherit zlib; };
meta = {
description = "The official reference implementation for the PNG file format";
homepage = http://www.libpng.org/pub/png/libpng.html;
license = "free-non-copyleft"; # http://www.libpng.org/pub/png/src/libpng-LICENSE.txt
};
}