forked from mirrors/nixpkgs
ec3965d8d0
See #490 discussion. This reverts commit1278859d31
, reversing changes made to0c020c98f9
. Conflicts: pkgs/desktops/xfce/core/xfce4-session.nix (take master) pkgs/lib/misc.nix (auto)
23 lines
573 B
Nix
23 lines
573 B
Nix
{ stdenv, fetchurl, zlib }:
|
|
|
|
assert zlib != null;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libpng-1.5.13";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/libpng/${name}.tar.xz";
|
|
sha256 = "1vks4mqv4140b10kp53qrywsx9m4xan5ibwsrlmf42ni075zjhxq";
|
|
};
|
|
|
|
propagatedBuildInputs = [ zlib ];
|
|
|
|
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
|
|
};
|
|
}
|