summary refs log tree commit diff
path: root/pkgs/tools/graphics
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2019-04-01 00:32:53 -0400
committerGitHub <noreply@github.com>2019-04-01 00:32:53 -0400
commite89a4ec1fb3b2586b724f88b127b201b8f2a3045 (patch)
treefe37230047364d6d08c7923db54e32c0226b70fb /pkgs/tools/graphics
parentd5857940216947c0c4b9fbbd54a214ecaf1123d8 (diff)
parent4d5a4a64bff00fac7e423ccce8b3574ad8c109c1 (diff)
downloadnixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar
nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar.gz
nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar.bz2
nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar.lz
nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar.xz
nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar.zst
nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.zip
Merge pull request #58564 from romildo/upd.xcur2png
xcur2png: init at 0.7.1
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r--pkgs/tools/graphics/xcur2png/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/xcur2png/default.nix b/pkgs/tools/graphics/xcur2png/default.nix
new file mode 100644
index 00000000000..1e3da5dddec
--- /dev/null
+++ b/pkgs/tools/graphics/xcur2png/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchFromGitHub, pkgconfig, libpng, xorg }:
+
+stdenv.mkDerivation rec {
+  pname = "xcur2png";
+  version = "0.7.1";
+
+  src = fetchFromGitHub {
+    owner = "eworm-de";
+    repo = pname;
+    rev = version;
+    sha256 = "0858wn2p14bxpv9lvaz2bz1rk6zk0g8zgxf8iy595m8fqv4q2fya";
+  };
+
+  nativeBuildInputs = [
+    pkgconfig
+  ];
+
+  buildInputs = [
+    libpng
+    xorg.libX11
+    xorg.libXcursor
+    xorg.xorgproto
+  ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/eworm-de/xcur2png/releases;
+    description = "Convert X cursors to PNG images";
+    license = licenses.gpl3;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ romildo ];
+  };
+}