about summary refs log tree commit diff
path: root/pkgs/data/icons
diff options
context:
space:
mode:
authorGuilhem Saurel <guilhem.saurel@laas.fr>2023-07-10 17:13:15 +0200
committerGuilhem Saurel <guilhem.saurel@laas.fr>2024-03-19 21:37:30 +0100
commit53136b68e20422b6c77b568f72f37a312de59377 (patch)
treedd43ec39e471831ae0c3c1f98e5c08dabb2b711c /pkgs/data/icons
parenta5c530979994172ab3d266f058c644836e129567 (diff)
gruppled-cursors: init at 1.0.0
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r--pkgs/data/icons/gruppled-cursors/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/data/icons/gruppled-cursors/default.nix b/pkgs/data/icons/gruppled-cursors/default.nix
new file mode 100644
index 0000000000000..f78becfd615f4
--- /dev/null
+++ b/pkgs/data/icons/gruppled-cursors/default.nix
@@ -0,0 +1,30 @@
+{
+  stdenvNoCC,
+  fetchFromGitHub,
+  theme,
+  lib,
+}:
+
+stdenvNoCC.mkDerivation (finalAttrs: {
+  pname = "gruppled-cursors";
+  version = "1.0.0";
+
+  src = fetchFromGitHub {
+    owner = "nim65s";
+    repo = finalAttrs.pname;
+    rev = "v${finalAttrs.version}";
+    hash = "sha256-ejlgdogjIYevZvB23si6bEeU6qY7rWXflaUyVk5MzqU=";
+  };
+
+  installPhase = ''
+    mkdir -p $out/share/icons/${theme}
+    cp -r ${theme}/{cursors,index.theme} $out/share/icons/${theme}
+  '';
+
+  meta = with lib; {
+    description = "Gruppled Cursors theme";
+    homepage = "https://github.com/nim65s/gruppled-cursors";
+    license = licenses.gpl2Only;
+    maintainers = with maintainers; [ nim65s ];
+  };
+})