aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/graphics/apngasm/default.nix
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/default.nix
parent628164c58de1e3fadc41c8024696578f98461a58 (diff)
apngasm: init at 3.1.9
Diffstat (limited to '')
-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 000000000000..8d50696efcbd
--- /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;
+ };
+
+}