nixpkgs/pkgs/development/libraries/libpng/default.nix
Yury G. Kudryashov 71b331103e libpng-1.5.4
svn path=/nixpkgs/branches/libpng15/; revision=29391
2011-09-20 06:52:43 +00:00

24 lines
613 B
Nix

{ stdenv, fetchurl, zlib, xz }:
assert zlib != null;
stdenv.mkDerivation rec {
name = "libpng-1.5.4";
src = fetchurl {
url = "mirror://sourceforge/libpng/${name}.tar.xz";
sha256 = "1rw58zi3hxyinah2dz0jzq81c7ninbmfjf10xax2a8cpd5h45agz";
};
propagatedBuildInputs = [ zlib ];
buildNativeInputs = [ xz ];
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
};
}