1 { lib, stdenv, fetchzip, libpng, zlib, zopfli }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/${pname}/${pname}-${version}-src.zip";
10 sha256 = "0qhljqql159xkn1l83vz0q8wvzr7rjz4jnhiy0zn36pgvacg0zn1";
13 buildInputs = [ libpng zlib zopfli ];
16 rm -rf libpng zlib zopfli
19 NIX_CFLAGS_LINK = "-lzopfli";
22 install -Dt $out/bin apngasm
25 enableParallelBuilding = true;
28 description = "Create highly optimized Animated PNG files from PNG/TGA images";
29 homepage = "http://apngasm.sourceforge.net/";
30 license = licenses.zlib;
31 maintainers = with maintainers; [ orivej ];
32 platforms = platforms.linux;