nixpkgs/pkgs/by-name/gr/gruvbox-plus-icons/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

48 lines
1.1 KiB
Nix

{
lib
, stdenvNoCC
, fetchFromGitHub
, gtk3
, plasma5Packages
, gnome-icon-theme
, hicolor-icon-theme
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "gruvbox-plus-icons";
version = "5.5.0";
src = fetchFromGitHub {
owner = "SylEleuth";
repo = "gruvbox-plus-icon-pack";
rev = "v${finalAttrs.version}";
hash = "sha256-G7F+69K2aJVBM3yOQIMTH2pDXBfLmYScKIIAza3YNw8=";
};
nativeBuildInputs = [ gtk3 ];
propagatedBuildInputs = [ plasma5Packages.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 ];
};
})