1 { lib, stdenvNoCC, fetchFromGitHub, nix-update-script }:
3 stdenvNoCC.mkDerivation (finalAttrs: {
4 pname = "material-icons";
7 src = fetchFromGitHub {
9 repo = "material-design-icons";
10 rev = finalAttrs.version;
11 hash = "sha256-wX7UejIYUxXOnrH2WZYku9ljv4ZAlvgk8EEJJHOCCjE=";
20 mkdir -p $out/share/fonts/truetype
21 cp font/*.ttf $out/share/fonts/truetype
23 mkdir -p $out/share/fonts/opentype
24 cp font/*.otf $out/share/fonts/opentype
29 passthru.updateScript = nix-update-script { };
32 description = "System status icons by Google, featuring material design";
33 homepage = "https://material.io/icons";
34 license = licenses.asl20;
35 platforms = platforms.all;
36 maintainers = with maintainers; [ mpcsh ];