about summary refs log tree commit diff
path: root/pkgs/by-name/gr/gruvbox-plus-icons/package.nix
blob: 5c0424e49bc9bdd49bd81bc8ddaff80e83a5f893 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, stdenvNoCC, fetchFromGitHub }:

stdenvNoCC.mkDerivation {
  pname = "gruvbox-plus-icons";
  version = "unstable-2023-11-30";

  src = fetchFromGitHub {
    owner = "SylEleuth";
    repo = "gruvbox-plus-icon-pack";
    rev = "5ce3ef1ae9d8360e4aadfcf73842df9a417dd53b";
    hash = "sha256-xS6ijyRhc9CaZVERLjqebbNsSbPoFUVTAutOjWiOUKc=";
  };

  installPhase = ''
    runHook preInstall

    mkdir -p $out/share/icons
    cp -r Gruvbox-Plus-Dark $out/share/icons/

    runHook postInstall
  '';

  meta = {
    description = "Icon pack for Linux desktops based on the Gruvbox color theme";
    homepage = "https://github.com/SylEleuth/gruvbox-plus-icon-pack";
    license = lib.licenses.gpl3Only;
    platforms = lib.platforms.linux;
    maintainers = with lib.maintainers; [ RGBCube ];
  };
}