base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / gr / gruvbox-plus-icons / package.nix
blobb182026972aa50a2fff08f2877ac0478478bb122
2   lib
3 , stdenvNoCC
4 , fetchFromGitHub
5 , gtk3
6 , plasma5Packages
7 , gnome-icon-theme
8 , hicolor-icon-theme
9 }:
11 stdenvNoCC.mkDerivation (finalAttrs: {
12   pname = "gruvbox-plus-icons";
13   version = "5.5.0";
15   src = fetchFromGitHub {
16     owner = "SylEleuth";
17     repo = "gruvbox-plus-icon-pack";
18     rev = "v${finalAttrs.version}";
19     hash = "sha256-G7F+69K2aJVBM3yOQIMTH2pDXBfLmYScKIIAza3YNw8=";
20   };
22   nativeBuildInputs = [ gtk3 ];
24   propagatedBuildInputs = [ plasma5Packages.breeze-icons gnome-icon-theme hicolor-icon-theme ];
26   installPhase = ''
27     runHook preInstall
29     mkdir -p $out/share/icons
30     cp -r Gruvbox-Plus-Dark $out/share/icons/
31     gtk-update-icon-cache $out/share/icons/Gruvbox-Plus-Dark
33     runHook postInstall
34   '';
36   dontDropIconThemeCache = true;
37   dontBuild = true;
38   dontConfigure = true;
40   meta = with lib; {
41     description = "Icon pack for Linux desktops based on the Gruvbox color scheme";
42     homepage = "https://github.com/SylEleuth/gruvbox-plus-icon-pack";
43     license = licenses.gpl3Only;
44     platforms = platforms.linux;
45     maintainers = with maintainers; [ eureka-cpu RGBCube ];
46   };