diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-06-02 23:39:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-02 23:39:53 +0200 |
commit | 9b3a337d37bc5306104d95f5c2621853218080b7 (patch) | |
tree | a4d61397197c93b7148717f45a7b3576cc82d75b | |
parent | 84f95ade83359474c4cdd0c0caac6ecf7187440d (diff) | |
parent | 38abd30d8e07ef6898d87f217dcac25aed8074d2 (diff) |
Merge pull request #242114 from jn-sena/everforest-gtk-init
-rw-r--r-- | maintainers/maintainer-list.nix | 6 | ||||
-rw-r--r-- | pkgs/by-name/ev/everforest-gtk-theme/package.nix | 44 |
2 files changed, 50 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index e24686335e768..f01e02146b9a8 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -9798,6 +9798,12 @@ githubId = 54179289; name = "Jason Miller"; }; + jn-sena = { + email = "jn-sena@proton.me"; + github = "jn-sena"; + githubId = 45771313; + name = "Sena"; + }; jnsgruk = { email = "jon@sgrs.uk"; github = "jnsgruk"; diff --git a/pkgs/by-name/ev/everforest-gtk-theme/package.nix b/pkgs/by-name/ev/everforest-gtk-theme/package.nix new file mode 100644 index 0000000000000..943c743f894d8 --- /dev/null +++ b/pkgs/by-name/ev/everforest-gtk-theme/package.nix @@ -0,0 +1,44 @@ +{ lib +, stdenvNoCC +, fetchFromGitHub +, gnome-themes-extra +, gtk-engine-murrine +}: + +stdenvNoCC.mkDerivation { + pname = "everforest-gtk-theme"; + version = "0-unstable-2023-03-20"; + + src = fetchFromGitHub { + owner = "Fausto-Korpsvart"; + repo = "Everforest-GTK-Theme"; + rev = "8481714cf9ed5148694f1916ceba8fe21e14937b"; + sha256 = "sha256-NO12ku8wnW/qMHKxi5TL/dqBxH0+cZbe+fU0iicb9JU="; + }; + + propagatedUserEnvPkgs = [ + gtk-engine-murrine + ]; + + buildInputs = [ + gnome-themes-extra + ]; + + dontBuild = true; + + installPhase = '' + runHook preInstall + mkdir -p "$out/share/"{themes,icons} + cp -a icons/* "$out/share/icons/" + cp -a themes/* "$out/share/themes/" + runHook postInstall + ''; + + meta = with lib; { + description = "Everforest colour palette for GTK"; + homepage = "https://github.com/Fausto-Korpsvart/Everforest-GTK-Theme"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ jn-sena ]; + platforms = platforms.unix; + }; +} |