summary refs log tree commit diff
path: root/pkgs/applications/graphics/apngasm
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2020-01-21 01:39:41 +0000
committerOrivej Desh <orivej@gmx.fr>2020-01-21 01:39:41 +0000
commite902495a51a0023197900c906edef501bc9c9a07 (patch)
treec2b902d6b84f9e4c991b5b4aa7f67d4b54da5e83 /pkgs/applications/graphics/apngasm
parent628164c58de1e3fadc41c8024696578f98461a58 (diff)
downloadnixpkgs-e902495a51a0023197900c906edef501bc9c9a07.tar
nixpkgs-e902495a51a0023197900c906edef501bc9c9a07.tar.gz
nixpkgs-e902495a51a0023197900c906edef501bc9c9a07.tar.bz2
nixpkgs-e902495a51a0023197900c906edef501bc9c9a07.tar.lz
nixpkgs-e902495a51a0023197900c906edef501bc9c9a07.tar.xz
nixpkgs-e902495a51a0023197900c906edef501bc9c9a07.tar.zst
nixpkgs-e902495a51a0023197900c906edef501bc9c9a07.zip
apngasm: init at 3.1.9
Diffstat (limited to 'pkgs/applications/graphics/apngasm')
-rw-r--r--pkgs/applications/graphics/apngasm/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/apngasm/default.nix b/pkgs/applications/graphics/apngasm/default.nix
new file mode 100644
index 00000000000..8d50696efcb
--- /dev/null
+++ b/pkgs/applications/graphics/apngasm/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, cmake, boost, libpng, zlib }:
+
+stdenv.mkDerivation rec {
+  pname = "apngasm";
+  version = "3.1.9";
+
+  src = fetchFromGitHub {
+    owner = pname;
+    repo = pname;
+    rev = "d50bfb0cf14c376f4cfb94eb91c61d795a76b715"; # not tagged, but in debian/changelog
+    sha256 = "0pk0r8x1950pm6j3d5wgryvy3ldm7a9gl59jmnwnjmg1sf9mzf97";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [ boost libpng zlib ];
+
+  meta = with stdenv.lib; {
+    description = "Create an APNG from multiple PNG files";
+    homepage = "https://github.com/apngasm/apngasm";
+    license = licenses.zlib;
+    maintainers = with maintainers; [ orivej ];
+    platforms = platforms.linux;
+  };
+
+}