607b0d3e80
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
13 lines
303 B
Nix
13 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;
|
|
}
|