Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

59 lines
1.1 KiB
Nix
Raw Normal View History

2024-06-26 10:47:48 -03:00
{
lib,
stdenvNoCC,
fetchFromGitHub,
gtk3,
breeze-icons,
hicolor-icon-theme,
pantheon,
}:
stdenvNoCC.mkDerivation rec {
pname = "marwaita-icons";
2024-10-15 13:31:44 +00:00
version = "5.1";
2024-06-26 10:47:48 -03:00
src = fetchFromGitHub {
owner = "darkomarko42";
repo = "marwaita-icons";
rev = version;
2024-10-15 13:31:44 +00:00
hash = "sha256-UehujziT13kA9ltjyCvbSDTEpR8ISxoBpoLj22Zih8k=";
2024-06-26 10:47:48 -03:00
};
nativeBuildInputs = [
gtk3
];
propagatedBuildInputs = [
breeze-icons
hicolor-icon-theme
pantheon.elementary-icon-theme
];
dontDropIconThemeCache = true;
2025-03-01 22:06:29 +00:00
dontWrapQtApps = true;
2024-06-26 10:47:48 -03:00
# FIXME: https://github.com/darkomarko42/Marwaita-Icons/issues/3
dontCheckForBrokenSymlinks = true;
2024-06-26 10:47:48 -03:00
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
cp -a Marwaita* $out/share/icons
for theme in $out/share/icons/*; do
gtk-update-icon-cache "$theme"
done
runHook postInstall
'';
meta = {
description = "Icon pack for linux";
homepage = "https://github.com/darkomarko42/Marwaita-Icons";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.romildo ];
};
}