7 , boldPanelIcons ? false
8 , blackPanelIcons ? false
9 , alternativeIcons ? false
13 let pname = "Whitesur-icon-theme";
15 lib.checkListOfEnum "${pname}: theme variants" [
28 stdenvNoCC.mkDerivation rec {
30 version = "2024-05-28";
32 src = fetchFromGitHub {
33 owner = "vinceliuice";
36 hash = "sha256-60pz/ET3jorEui31Aq6I3LMTz0djwWUv7poEI0USzJw=";
39 nativeBuildInputs = [ gtk3 jdupes ];
41 buildInputs = [ hicolor-icon-theme ];
43 # These fixup steps are slow and unnecessary
45 dontRewriteSymlinks = true;
46 dontDropIconThemeCache = true;
49 patchShebangs install.sh
55 ./install.sh --dest $out/share/icons \
57 --theme ${builtins.toString themeVariants} \
58 ${lib.optionalString alternativeIcons "--alternative"} \
59 ${lib.optionalString boldPanelIcons "--bold"} \
60 ${lib.optionalString blackPanelIcons "--black"}
62 jdupes --link-soft --recurse $out/share
68 description = "MacOS Big Sur style icon theme for Linux desktops";
69 homepage = "https://github.com/vinceliuice/WhiteSur-icon-theme";
70 license = licenses.gpl3Plus;
71 platforms = platforms.linux;
72 maintainers = with maintainers; [ icy-thought ];