nixpkgs/pkgs/by-name/gr/gruvbox-material-gtk-theme/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
942 B
Nix
Raw Normal View History

{
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;
};
}