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:
José Romildo Malaquias 2023-12-12 12:09:29 -03:00 committed by GitHub
commit fcd2f54d7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 53 additions and 0 deletions

View file

@ -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";

View 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 ];
};
}