From 0b63579b5384487d204b963f840f2a5a8514e074 Mon Sep 17 00:00:00 2001 From: Ilia Date: Fri, 4 Oct 2024 19:28:50 +0300 Subject: [PATCH 1/2] maintainers: add istudyatuni --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a04ff6ef63cd..43451ebea4b0 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -9523,6 +9523,11 @@ github = "istoph"; githubId = 114227790; }; + istudyatuni = { + name = "Ilia"; + github = "istudyatuni"; + githubId = 43654815; + }; itepastra = { name = "Noa Aarts"; github = "itepastra"; From 4e0dbd3f396aba5f980aea5d13c2b4f45a11441e Mon Sep 17 00:00:00 2001 From: Ilia Date: Fri, 4 Oct 2024 19:28:50 +0300 Subject: [PATCH 2/2] gruvbox-kvantum: init at 1.1 --- pkgs/by-name/gr/gruvbox-kvantum/package.nix | 47 +++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 pkgs/by-name/gr/gruvbox-kvantum/package.nix diff --git a/pkgs/by-name/gr/gruvbox-kvantum/package.nix b/pkgs/by-name/gr/gruvbox-kvantum/package.nix new file mode 100644 index 000000000000..160166fd39ab --- /dev/null +++ b/pkgs/by-name/gr/gruvbox-kvantum/package.nix @@ -0,0 +1,47 @@ +{ + stdenvNoCC, + fetchFromGitHub, + lib, + variant ? "Gruvbox-Dark-Brown", +}: +let + pname = "gruvbox-kvantum"; +in +lib.checkListOfEnum "${pname}: variant" + [ + "Gruvbox-Dark-Blue" + "Gruvbox-Dark-Brown" + "Gruvbox-Dark-Green" + "Gruvbox_Light_Blue" + "Gruvbox_Light_Brown" + "Gruvbox_Light_Green" + ] + [ variant ] + + stdenvNoCC.mkDerivation + { + inherit pname; + version = "1.1"; + + src = fetchFromGitHub { + owner = "sachnr"; + repo = "gruvbox-kvantum-themes"; + rev = "f47670be407c1f07c64890ad53884ee9977a7db1"; + sha256 = "sha256-u2J4Zf9HuMjNCt3qVpgEffkytl/t277FzOvWL8Nm8os="; + }; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/Kvantum + cp -a "${variant}" $out/share/Kvantum + runHook postInstall + ''; + + meta = { + description = "Gruvbox themes for kvantum"; + homepage = "https://github.com/sachnr/gruvbox-kvantum-themes"; + license = lib.licenses.gpl3; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ istudyatuni ]; + }; + }