depot/third_party/nixpkgs/pkgs/by-name/gr/gruvbox-gtk-theme/package.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

42 lines
914 B
Nix

{ lib
, stdenvNoCC
, fetchFromGitHub
, gnome-themes-extra
, gtk-engine-murrine
}:
stdenvNoCC.mkDerivation {
pname = "gruvbox-gtk-theme";
version = "unstable-2023-05-28";
src = fetchFromGitHub {
owner = "Fausto-Korpsvart";
repo = "Gruvbox-GTK-Theme";
rev = "c0b7fb501938241a3b6b5734f8cb1f0982edc6b4";
hash = "sha256-Y+6HuWaVkNqlYc+w5wLkS2LpKcDtpeOpdHnqBmShm5Q=";
};
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
buildInputs = [
gnome-themes-extra
];
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/themes
cp -a themes/* $out/share/themes
runHook postInstall
'';
meta = with lib; {
description = "A Gtk theme based on the Gruvbox colour pallete";
homepage = "https://www.pling.com/p/1681313/";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = [ maintainers.math-42 ];
};
}