8 , colorVariants ? [] # default: all
12 pname = "vimix-icon-theme";
15 lib.checkListOfEnum "${pname}: color variants" [ "standard" "Amethyst" "Beryl" "Doder" "Ruby" "Jade" "Black" "White" ] colorVariants
17 stdenvNoCC.mkDerivation rec {
19 version = "2023-06-26";
21 src = fetchFromGitHub {
22 owner = "vinceliuice";
25 sha256 = "5pTYsWdmjSDyrEK+Jbg/9dQ1FHI2rdnr1n0Ysd5mg/U=";
33 propagatedBuildInputs = [
37 dontDropIconThemeCache = true;
39 # These fixup steps are slow and unnecessary for this package
41 dontRewriteSymlinks = true;
44 patchShebangs install.sh
51 ${if colorVariants != [] then builtins.toString colorVariants else "-a"} \
54 # replace duplicate files with symlinks
55 jdupes --quiet --link-soft --recurse $out/share
60 passthru.updateScript = gitUpdater { };
63 description = "Material Design icon theme based on Paper icon theme";
64 homepage = "https://github.com/vinceliuice/vimix-icon-theme";
65 license = with licenses; [ cc-by-sa-40 ];
66 platforms = platforms.linux;
67 maintainers = with maintainers; [ romildo ];