gruvbox-material-gtk-theme: init at 0-unstable-2024-08-09 (#362216)

This commit is contained in:
Aleksana 2024-12-08 11:50:28 +08:00 committed by GitHub
commit c55fc278c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,38 @@
{
stdenvNoCC,
fetchFromGitHub,
gtk-engine-murrine,
lib,
}:
stdenvNoCC.mkDerivation {
pname = "gruvbox-material-gtk-theme";
version = "0-unstable-2024-08-09";
src = fetchFromGitHub {
owner = "TheGreatMcPain";
repo = "gruvbox-material-gtk";
rev = "808959bcfe8b9409b49a7f92052198f0882ae8bc";
hash = "sha256-NHjE/HI/BJyjrRfoH9gOKIU8HsUIBPV9vyvuW12D01M=";
};
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p "$out/share/"{themes,icons}
for i in "icons" "themes"; do
cp -a "$i/"* "$out/share/$i"
done
runHook postInstall
'';
meta = {
description = "GTK Theme based off of the Gruvbox Material colour palette";
homepage = "https://github.com/TheGreatMcPain/gruvbox-material-gtk";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.amadaluzia ];
platforms = lib.platforms.unix;
};
}