lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.09-beta 31 lines 800 B view raw
1{ stdenv, fetchurl, zlib }: 2 3assert stdenv.hostPlatform == stdenv.buildPlatform -> zlib != null; 4 5stdenv.mkDerivation rec { 6 name = "libpng-1.2.57"; 7 8 src = fetchurl { 9 url = "mirror://sourceforge/libpng/${name}.tar.xz"; 10 sha256 = "1n2lrzjkm5jhfg2bs10q398lkwbbx742fi27zgdgx0x23zhj0ihg"; 11 }; 12 13 outputs = [ "out" "dev" "man" ]; 14 15 propagatedBuildInputs = [ zlib ]; 16 17 passthru = { inherit zlib; }; 18 19 configureFlags = [ "--enable-static" ]; 20 21 postInstall = ''mv "$out/bin" "$dev/bin"''; 22 23 meta = with stdenv.lib; { 24 description = "The official reference implementation for the PNG file format"; 25 homepage = http://www.libpng.org/pub/png/libpng.html; 26 license = licenses.libpng; 27 maintainers = [ maintainers.fuuzetsu ]; 28 branch = "1.2"; 29 platforms = platforms.unix; 30 }; 31}