mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 15:17:50 +00:00
gruvbox-material-gtk-theme: init at 0-unstable-2024-08-09 (#362216)
This commit is contained in:
commit
c55fc278c6
38
pkgs/by-name/gr/gruvbox-material-gtk-theme/package.nix
Normal file
38
pkgs/by-name/gr/gruvbox-material-gtk-theme/package.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user