about summary refs log tree commit diff
path: root/pkgs/data/icons
diff options
context:
space:
mode:
authorGabe Dunn <gabe@sent.at>2023-09-18 14:27:13 -0700
committerGabe Dunn <gabe@sent.at>2023-09-18 19:32:27 -0700
commit13e6a040c040af720542a3dd6285fdbcbc262880 (patch)
treebb07176f08b6fd9b9363d3ea8556259fb65b901f /pkgs/data/icons
parent89d92033ce24f28136b0bcef6ec963cd5145e8ca (diff)
vimix-cursor-theme: init at 2020-02-24
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r--pkgs/data/icons/vimix-cursor-theme/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/data/icons/vimix-cursor-theme/default.nix b/pkgs/data/icons/vimix-cursor-theme/default.nix
new file mode 100644
index 0000000000000..4d20acca83b05
--- /dev/null
+++ b/pkgs/data/icons/vimix-cursor-theme/default.nix
@@ -0,0 +1,33 @@
+{ stdenvNoCC
+, fetchFromGitHub
+, lib
+}:
+
+stdenvNoCC.mkDerivation rec {
+  pname = "vimix-cursor-theme";
+  version = "2020-02-24";
+
+  src = fetchFromGitHub {
+    owner = "vinceliuice";
+    repo = "Vimix-cursors";
+    rev = version;
+    hash = "sha256-TfcDer85+UOtDMJVZJQr81dDy4ekjYgEvH1RE1IHMi4=";
+  };
+
+  installPhase = ''
+    sed -i 's/Vimix Cursors$/Vimix-Cursors/g' dist{,-white}/index.theme
+
+    install -dm 755 $out/share/icons/Vimix-Cursors{,-White}
+
+    cp -dr --no-preserve='ownership' dist/*        $out/share/icons/Vimix-Cursors
+    cp -dr --no-preserve='ownership' dist-white/*  $out/share/icons/Vimix-Cursors-White
+  '';
+
+  meta = with lib; {
+    description = "An x-cursor theme inspired by Materia design and based on capitaine-cursors";
+    homepage = "https://github.com/vinceliuice/Vimix-cursors";
+    license = licenses.gpl3Only;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ redxtech ];
+  };
+}