about summary refs log tree commit diff
path: root/pkgs/data/icons/vanilla-dmz/default.nix
diff options
context:
space:
mode:
authorCharles Strahan <charles.c.strahan@gmail.com>2015-11-17 16:24:48 -0500
committerRok Garbas <rok@garbas.si>2015-12-22 02:28:08 +0100
commit60df6fdd345cad243a4ef7e5c9cdf42f0a54f0d3 (patch)
treea04f8d0d6a83ec77de9a5545ec1385d29de47deb /pkgs/data/icons/vanilla-dmz/default.nix
parentdefe78e553421a613310cad4d32a9ee19bf53034 (diff)
downloadnixlib-60df6fdd345cad243a4ef7e5c9cdf42f0a54f0d3.tar
nixlib-60df6fdd345cad243a4ef7e5c9cdf42f0a54f0d3.tar.gz
nixlib-60df6fdd345cad243a4ef7e5c9cdf42f0a54f0d3.tar.bz2
nixlib-60df6fdd345cad243a4ef7e5c9cdf42f0a54f0d3.tar.lz
nixlib-60df6fdd345cad243a4ef7e5c9cdf42f0a54f0d3.tar.xz
nixlib-60df6fdd345cad243a4ef7e5c9cdf42f0a54f0d3.tar.zst
nixlib-60df6fdd345cad243a4ef7e5c9cdf42f0a54f0d3.zip
vanilla-dmz: init at 0.4.4, fixes #11102
Vanilla DMZ cursor theme
Diffstat (limited to 'pkgs/data/icons/vanilla-dmz/default.nix')
-rw-r--r--pkgs/data/icons/vanilla-dmz/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/data/icons/vanilla-dmz/default.nix b/pkgs/data/icons/vanilla-dmz/default.nix
new file mode 100644
index 000000000000..3b80781f4145
--- /dev/null
+++ b/pkgs/data/icons/vanilla-dmz/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, lib, fetchzip, xorg }:
+
+stdenv.mkDerivation rec {
+  name = "vanilla-dmz-${version}";
+  version = "0.4.4";
+  src = fetchzip {
+    url = "http://ftp.de.debian.org/debian/pool/main/d/dmz-cursor-theme/dmz-cursor-theme_${version}.tar.gz";
+    sha256 = "1l0c0svk7dy0d7icg7j2181wdn3fvks5gmyqnvjk749ppy5ks8mj";
+  };
+  buildInputs = [ xorg.xcursorgen ];
+  buildPhase = ''
+    cd DMZ-White/pngs; ./make.sh; cd -
+    cd DMZ-Black/pngs; ./make.sh; cd -
+  '';
+  installPhase = ''
+    install -d $out/share/icons/Vanilla-DMZ/cursors
+    cp -a DMZ-White/xcursors/* $out/share/icons/Vanilla-DMZ/cursors
+    install -Dm644 DMZ-White/index.theme $out/share/icons/Vanilla-DMZ/index.theme
+
+    install -d $out/share/icons/Vanilla-DMZ-AA/cursors
+    cp -a DMZ-Black/xcursors/* $out/share/icons/Vanilla-DMZ-AA/cursors
+    install -Dm644 DMZ-Black/index.theme $out/share/icons/Vanilla-DMZ-AA/index.theme
+  '';
+  meta = with lib; {
+    homepage = "http://jimmac.musichall.cz";
+    description = "A style neutral scalable cursor theme.";
+    platforms = platforms.all;
+    license = licenses.cc-by-nc-sa-30;
+    maintainers = with maintainers; [ cstrahan ];
+  };
+}