about summary refs log tree commit diff
path: root/pkgs/by-name/gr
diff options
context:
space:
mode:
authoreureka-cpu <eureka-cpu@users.noreply.github.com>2023-11-07 23:44:36 -0600
committerRGBCube <RGBCube@users.noreply.github.com>2023-12-07 16:53:21 +0300
commit983effd86a873e5fc4a370829e9f27ad52b2e552 (patch)
tree337180eed867719a3007b207dfdb6783db5be0b7 /pkgs/by-name/gr
parent73f47900fa9ed8ede153fdafbda166ea3c228f9d (diff)
downloadnixlib-983effd86a873e5fc4a370829e9f27ad52b2e552.tar
nixlib-983effd86a873e5fc4a370829e9f27ad52b2e552.tar.gz
nixlib-983effd86a873e5fc4a370829e9f27ad52b2e552.tar.bz2
nixlib-983effd86a873e5fc4a370829e9f27ad52b2e552.tar.lz
nixlib-983effd86a873e5fc4a370829e9f27ad52b2e552.tar.xz
nixlib-983effd86a873e5fc4a370829e9f27ad52b2e552.tar.zst
nixlib-983effd86a873e5fc4a370829e9f27ad52b2e552.zip
gruvbox-plus-icon-pack: init at unstable-2023-11-07
Diffstat (limited to 'pkgs/by-name/gr')
-rw-r--r--pkgs/by-name/gr/gruvbox-plus-icons/package.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/by-name/gr/gruvbox-plus-icons/package.nix b/pkgs/by-name/gr/gruvbox-plus-icons/package.nix
new file mode 100644
index 000000000000..ffcd8b3f0b89
--- /dev/null
+++ b/pkgs/by-name/gr/gruvbox-plus-icons/package.nix
@@ -0,0 +1,47 @@
+{
+  lib
+, stdenvNoCC
+, fetchFromGitHub
+, gtk3
+, breeze-icons
+, gnome-icon-theme
+, hicolor-icon-theme
+}:
+
+stdenvNoCC.mkDerivation {
+  pname = "gruvbox-plus-icons";
+  version = "unstable-2023-12-07";
+
+  src = fetchFromGitHub {
+    owner = "SylEleuth";
+    repo = "gruvbox-plus-icon-pack";
+    rev = "f3109979fe93b31ea14eb2d5c04247a895302ea0";
+    sha256 = "sha256-EijTEDkPmcDcMhCuL6fOWjU9eXFUwmeOEwfGlxadb1U=";
+  };
+
+  nativeBuildInputs = [ gtk3 ];
+
+  propagatedBuildInputs = [ breeze-icons gnome-icon-theme hicolor-icon-theme ];
+
+  installPhase = ''
+    runHook preInstall
+
+    mkdir -p $out/share/icons
+    cp -r Gruvbox-Plus-Dark $out/share/icons/
+    gtk-update-icon-cache $out/share/icons/Gruvbox-Plus-Dark
+
+    runHook postInstall
+  '';
+
+  dontDropIconThemeCache = true;
+  dontBuild = true;
+  dontConfigure = true;
+
+  meta = with lib; {
+    description = "Icon pack for Linux desktops based on the Gruvbox color scheme";
+    homepage = "https://github.com/SylEleuth/gruvbox-plus-icon-pack";
+    license = licenses.gpl3Only;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ eureka-cpu RGBCube ];
+  };
+}