nixpkgs/pkgs/development/libraries/libpng/default.nix
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00

14 lines
303 B
Nix

{stdenv, fetchurl, zlib}:
assert zlib != null;
stdenv.mkDerivation {
name = "libpng-1.2.18";
src = fetchurl {
url = mirror://sourceforge/libpng/libpng-1.2.18.tar.bz2;
sha256 = "0qhcy8r0r8280wahs91xi4p79gm2cb021x9bcww1r5bywvwn5kkg";
};
propagatedBuildInputs = [zlib];
inherit zlib;
}