mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
2641d97cbf
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
48 lines
1.1 KiB
Nix
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 ];
|
|
};
|
|
})
|