8 boldPanelIcons ? false,
9 blackPanelIcons ? false,
10 alternativeIcons ? false,
15 pname = "Whitesur-icon-theme";
17 lib.checkListOfEnum "${pname}: theme variants"
32 stdenvNoCC.mkDerivation
35 version = "2024-09-07";
37 src = fetchFromGitHub {
38 owner = "vinceliuice";
41 hash = "sha256-/cW/ymT9MjB07Sw7ifpr6x8oaaeI4PSyaOdLci7AncY=";
49 buildInputs = [ hicolor-icon-theme ];
51 # These fixup steps are slow and unnecessary
53 dontRewriteSymlinks = true;
54 dontDropIconThemeCache = true;
57 patchShebangs install.sh
63 ./install.sh --dest $out/share/icons \
65 --theme ${builtins.toString themeVariants} \
66 ${lib.optionalString alternativeIcons "--alternative"} \
67 ${lib.optionalString boldPanelIcons "--bold"} \
68 ${lib.optionalString blackPanelIcons "--black"}
70 jdupes --link-soft --recurse $out/share
76 description = "MacOS Big Sur style icon theme for Linux desktops";
77 homepage = "https://github.com/vinceliuice/WhiteSur-icon-theme";
78 license = licenses.gpl3Plus;
79 platforms = platforms.linux;
80 maintainers = with maintainers; [ icy-thought ];