4 , colorVariants ? [] # default: install all icons
8 pname = "material-black-colors";
10 "MB-Blueberry-Suru-GLOW"
14 "MB-Pistachio-Suru-GLOW"
16 "Material-Black-Blueberry-Numix-FLAT"
17 "Material-Black-Blueberry-Numix"
18 "Material-Black-Blueberry-Suru"
19 "Material-Black-Cherry-Numix-FLAT"
20 "Material-Black-Cherry-Numix"
21 "Material-Black-Cherry-Suru"
22 "Material-Black-Lime-Numix-FLAT"
23 "Material-Black-Lime-Numix"
24 "Material-Black-Lime-Suru"
25 "Material-Black-Mango-Numix-FLAT"
26 "Material-Black-Mango-Numix"
27 "Material-Black-Mango-Suru"
28 "Material-Black-Pistachio-Numix-FLAT"
29 "Material-Black-Pistachio-Numix"
30 "Material-Black-Pistachio-Suru"
31 "Material-Black-Plum-Numix-FLAT"
32 "Material-Black-Plum-Numix"
33 "Material-Black-Plum-Suru"
37 lib.checkListOfEnum "${pname}: color variants" colorVariantList colorVariants
39 stdenvNoCC.mkDerivation {
41 version = "0-unstable-2020-12-17";
43 src = fetchFromGitHub {
45 repo = "rtl88-Themes";
46 rev = "3864d851aac7f4e76cf23717aee104de234aef74";
47 hash = "sha256-BUJMd6Ltq16/HqqDbB5VDGIRSzLivXxNYZPT9sd6oTI=";
52 mkdir -p $out/share/icons
53 cp -r ${lib.concatStringsSep " " (if colorVariants != [] then colorVariants else colorVariantList)} $out/share/icons/
60 description = "Material Black Colors icons";
61 homepage = "https://github.com/rtlewis88/rtl88-Themes/tree/material-black-COLORS";
62 maintainers = with maintainers; [ d3vil0p3r ];
63 platforms = platforms.all;
64 license = with licenses; [ gpl3Plus mit ];