about summary refs log tree commit diff
path: root/pkgs/tools/graphics/pngtools
diff options
context:
space:
mode:
authorzendo <linzway@qq.com>2022-04-24 23:26:01 +0800
committerGitHub <noreply@github.com>2022-04-24 10:26:01 -0500
commit50121730cae36c893be51dedd41d2113e3c5a653 (patch)
treea11a29634058babb88ccd0ebaefcc1a3d8405931 /pkgs/tools/graphics/pngtools
parent486e18361245e8021732f6a6b8f724496eeb1c8b (diff)
pngtools: init at unstable-2022-03-14 (#169875)
Diffstat (limited to 'pkgs/tools/graphics/pngtools')
-rw-r--r--pkgs/tools/graphics/pngtools/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/pngtools/default.nix b/pkgs/tools/graphics/pngtools/default.nix
new file mode 100644
index 0000000000000..563c8af50ae8c
--- /dev/null
+++ b/pkgs/tools/graphics/pngtools/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, libpng12, fetchFromGitHub }:
+
+stdenv.mkDerivation {
+  pname = "pngtools";
+  version = "unstable-2022-03-14";
+
+  src = fetchFromGitHub {
+    owner = "mikalstill";
+    repo = "pngtools";
+    rev = "1ccca3a0f3f6882661bbafbfb62feb774ca195d1";
+    sha256 = "sha256-W1XofOVTyfA7IbxOnTkWdOOZ00gZ4e0GOYl7nMtLIJk=";
+  };
+
+  buildInputs = [ libpng12 ];
+
+  meta = with lib; {
+    homepage = "https://github.com/mikalstill/pngtools";
+    description = "PNG manipulation tools";
+    maintainers = with maintainers; [ zendo ];
+    license = licenses.gpl2Only;
+    platforms = platforms.all;
+  };
+}