nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenvNoCC,
4 fetchFromGitHub,
5 gnome-themes-extra,
6 gtk-engine-murrine,
7}:
8
9stdenvNoCC.mkDerivation {
10 pname = "everforest-gtk-theme";
11 version = "0-unstable-2023-03-20";
12
13 src = fetchFromGitHub {
14 owner = "Fausto-Korpsvart";
15 repo = "Everforest-GTK-Theme";
16 rev = "8481714cf9ed5148694f1916ceba8fe21e14937b";
17 hash = "sha256-NO12ku8wnW/qMHKxi5TL/dqBxH0+cZbe+fU0iicb9JU=";
18 };
19
20 propagatedUserEnvPkgs = [
21 gtk-engine-murrine
22 ];
23
24 buildInputs = [
25 gnome-themes-extra
26 ];
27
28 dontBuild = true;
29
30 installPhase = ''
31 runHook preInstall
32 mkdir -p "$out/share/"{themes,icons}
33 cp -a icons/* "$out/share/icons/"
34 cp -a themes/* "$out/share/themes/"
35 runHook postInstall
36 '';
37
38 meta = with lib; {
39 description = "Everforest colour palette for GTK";
40 homepage = "https://github.com/Fausto-Korpsvart/Everforest-GTK-Theme";
41 license = licenses.gpl3Only;
42 maintainers = with maintainers; [ jn-sena ];
43 platforms = platforms.unix;
44 };
45}