This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
2023-06-01 21:20:44 +01:00
|
|
|
{ stdenvNoCC, fetchFromGitHub, gtk3, gnome-icon-theme, hicolor-icon-theme }:
|
2023-05-29 16:43:26 +01:00
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "gruvbox-plus-icon-pack";
|
|
|
|
version = "3.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SylEleuth";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-HOgH7BPb3wsgrFEotz9+RNTZL7mYnI9Y58L5vxd/F2Y=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gtk3 ];
|
|
|
|
|
2023-06-01 21:20:44 +01:00
|
|
|
propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
|
|
|
|
|
2023-05-29 16:43:26 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/icons/GruvboxPlus
|
|
|
|
cp -r * $out/share/icons/GruvboxPlus
|
2023-06-01 21:20:44 +01:00
|
|
|
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
2023-05-29 16:43:26 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
}
|