From 0297229504890f7d2e3c066f4199d7fc78bef18b Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Mon, 19 Sep 2011 19:01:40 +0000 Subject: [PATCH] libpng-1.5 See CVE-2011-269{0,1,2} svn path=/nixpkgs/trunk/; revision=29363 --- pkgs/development/libraries/libpng/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/libpng/default.nix b/pkgs/development/libraries/libpng/default.nix index bfd0a6b98b1f..bcdc878edf4b 100644 --- a/pkgs/development/libraries/libpng/default.nix +++ b/pkgs/development/libraries/libpng/default.nix @@ -1,17 +1,17 @@ -{ stdenv, fetchurl, zlib }: - -assert zlib != null; +{ stdenv, fetchurl, zlib, xz }: stdenv.mkDerivation rec { - name = "libpng-1.2.44"; + name = "libpng-1.5.4"; src = fetchurl { - url = "mirror://sourceforge/libpng/${name}.tar.gz"; - md5 = "89b62f8daaeeab1342e307d6d1411ff1"; + url = "mirror://sourceforge/libpng/${name}.tar.xz"; + sha256 = "1rw58zi3hxyinah2dz0jzq81c7ninbmfjf10xax2a8cpd5h45agz"; }; propagatedBuildInputs = [ zlib ]; + buildNativeInputs = [ xz ]; + passthru = { inherit zlib; }; meta = {