frigate: fix event preview (#372427)
[NixPkgs.git] / pkgs / by-name / ev / everforest-gtk-theme / package.nix
blob5b39290296eec1db91869fa1b6d4670deda8df24
2   lib,
3   stdenvNoCC,
4   fetchFromGitHub,
5   gnome-themes-extra,
6   gtk-engine-murrine,
7 }:
9 stdenvNoCC.mkDerivation {
10   pname = "everforest-gtk-theme";
11   version = "0-unstable-2023-03-20";
13   src = fetchFromGitHub {
14     owner = "Fausto-Korpsvart";
15     repo = "Everforest-GTK-Theme";
16     rev = "8481714cf9ed5148694f1916ceba8fe21e14937b";
17     hash = "sha256-NO12ku8wnW/qMHKxi5TL/dqBxH0+cZbe+fU0iicb9JU=";
18   };
20   propagatedUserEnvPkgs = [
21     gtk-engine-murrine
22   ];
24   buildInputs = [
25     gnome-themes-extra
26   ];
28   dontBuild = true;
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   '';
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   };