Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

apngasm_2: init at 2.91

This is the original apngasm which has not been updated since 2017 but it has
diverged from its fork with support for LZMA and ZOPFLI compression and TGA
input.

+36
+35
pkgs/applications/graphics/apngasm/2.nix
··· 1 + { stdenv, fetchzip, libpng, zlib, zopfli }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "apngasm"; 5 + version = "2.91"; 6 + 7 + src = fetchzip { 8 + url = "mirror://sourceforge/${pname}/${pname}-${version}-src.zip"; 9 + stripRoot = false; 10 + sha256 = "0qhljqql159xkn1l83vz0q8wvzr7rjz4jnhiy0zn36pgvacg0zn1"; 11 + }; 12 + 13 + buildInputs = [ libpng zlib zopfli ]; 14 + 15 + postPatch = '' 16 + rm -rf libpng zlib zopfli 17 + ''; 18 + 19 + NIX_CFLAGS_LINK = "-lzopfli"; 20 + 21 + installPhase = '' 22 + install -Dt $out/bin apngasm 23 + ''; 24 + 25 + enableParallelBuilding = true; 26 + 27 + meta = with stdenv.lib; { 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; 33 + }; 34 + 35 + }
+1
pkgs/top-level/all-packages.nix
··· 18093 18093 apache-directory-studio = callPackage ../applications/networking/apache-directory-studio {}; 18094 18094 18095 18095 apngasm = callPackage ../applications/graphics/apngasm {}; 18096 + apngasm_2 = callPackage ../applications/graphics/apngasm/2.nix {}; 18096 18097 18097 18098 appeditor = callPackage ../applications/misc/appeditor { }; 18098 18099