52 lines
971 B
Nix
52 lines
971 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
gtk3,
|
|
xdg-utils,
|
|
nix-update-script,
|
|
}:
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "morewaita-icon-theme";
|
|
version = "48.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "somepaulo";
|
|
repo = "MoreWaita";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-Gi73Cn/FwI055Inodo8huHeaWGTy9IR3qPMbjAHBsPw=";
|
|
};
|
|
|
|
postPatch = ''
|
|
patchShebangs install.sh
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
gtk3
|
|
xdg-utils
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
THEMEDIR="$out/share/icons/MoreWaita" ./install.sh
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
description = "Adwaita style extra icons theme for Gnome Shell";
|
|
homepage = "https://github.com/somepaulo/MoreWaita";
|
|
license = with lib.licenses; [ gpl3Only ];
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [
|
|
pkosel
|
|
kachick
|
|
];
|
|
};
|
|
})
|