mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
Merge pull request #206936 from Math-42/master
gruvbox-gtk-theme: init at unstable-2022-12-09
This commit is contained in:
commit
d9b94edb54
|
@ -8693,6 +8693,12 @@
|
|||
githubId = 322214;
|
||||
name = "Mathnerd314";
|
||||
};
|
||||
math-42 = {
|
||||
email = "matheus.4200@gmail.com";
|
||||
github = "Math-42";
|
||||
githubId = 43853194;
|
||||
name = "Matheus Vieira";
|
||||
};
|
||||
matklad = {
|
||||
email = "aleksey.kladov@gmail.com";
|
||||
github = "matklad";
|
||||
|
|
42
pkgs/data/themes/gruvbox-gtk-theme/default.nix
Normal file
42
pkgs/data/themes/gruvbox-gtk-theme/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, gnome-themes-extra
|
||||
, gtk-engine-murrine
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "gruvbox-gtk-theme";
|
||||
version = "unstable-2022-12-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Gruvbox-GTK-Theme";
|
||||
rev = "c3172d8dcba66f4125a014d280d41e23f0b95cad";
|
||||
sha256 = "1411mjlcj1d6kw3d3h1w9zsr0a08bzl5nddkkbv7w7lf67jy9b22";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -26639,6 +26639,8 @@ with pkgs;
|
|||
inherit (plasma5Packages) breeze-icons;
|
||||
};
|
||||
|
||||
gruvbox-gtk-theme = callPackage ../data/themes/gruvbox-gtk-theme {};
|
||||
|
||||
gubbi-font = callPackage ../data/fonts/gubbi { };
|
||||
|
||||
gyre-fonts = callPackage ../data/fonts/gyre {};
|
||||
|
|
Loading…
Reference in a new issue