mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #266188 from eureka-cpu/eureka-cpu/266170-b
gruvbox-plus-icon-pack: init at unstable-2023-11-07
This commit is contained in:
commit
fcd2f54d7d
@ -5622,6 +5622,12 @@
|
||||
githubId = 2147649;
|
||||
name = "Euan Kemp";
|
||||
};
|
||||
eureka-cpu = {
|
||||
email = "github.eureka@gmail.com";
|
||||
github = "eureka-cpu";
|
||||
githubId = 57543709;
|
||||
name = "Chris O'Brien";
|
||||
};
|
||||
evalexpr = {
|
||||
name = "Jonathan Wilkins";
|
||||
email = "nixos@wilkins.tech";
|
||||
|
47
pkgs/by-name/gr/gruvbox-plus-icons/package.nix
Normal file
47
pkgs/by-name/gr/gruvbox-plus-icons/package.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, gtk3
|
||||
, breeze-icons
|
||||
, gnome-icon-theme
|
||||
, hicolor-icon-theme
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "gruvbox-plus-icons";
|
||||
version = "unstable-2023-12-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SylEleuth";
|
||||
repo = "gruvbox-plus-icon-pack";
|
||||
rev = "f3109979fe93b31ea14eb2d5c04247a895302ea0";
|
||||
sha256 = "sha256-EijTEDkPmcDcMhCuL6fOWjU9eXFUwmeOEwfGlxadb1U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gtk3 ];
|
||||
|
||||
propagatedBuildInputs = [ breeze-icons gnome-icon-theme hicolor-icon-theme ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/icons
|
||||
cp -r Gruvbox-Plus-Dark $out/share/icons/
|
||||
gtk-update-icon-cache $out/share/icons/Gruvbox-Plus-Dark
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
dontBuild = true;
|
||||
dontConfigure = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Icon pack for Linux desktops based on the Gruvbox color scheme";
|
||||
homepage = "https://github.com/SylEleuth/gruvbox-plus-icon-pack";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ eureka-cpu RGBCube ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user