{ungoogled-,}chromium,chromedriver: 130.0.6723.58 -> 130.0.6723.69 (#351519)
[NixPkgs.git] / pkgs / data / fonts / material-design-icons / default.nix
blobebd33b88b6509882522d920e41a690024919459b
1 { lib
2 , fetchFromGitHub
3 , stdenvNoCC
4 , nix-update-script
5 }:
7 stdenvNoCC.mkDerivation rec {
8   pname = "material-design-icons";
9   version = "7.4.47";
11   src = fetchFromGitHub {
12     owner = "Templarian";
13     repo = "MaterialDesign-Webfont";
14     rev = "v${version}";
15     hash = "sha256-7t3i3nPJZ/tRslLBfY+9kXH8TR145GC2hPFYJeMHRL8=";
16     sparseCheckout = [ "fonts" ];
17   };
19   installPhase = ''
20     runHook preInstall
22     mkdir -p "$out/share/fonts/"{eot,truetype,woff,woff2}
23     cp fonts/*.eot "$out/share/fonts/eot/"
24     cp fonts/*.ttf "$out/share/fonts/truetype/"
25     cp fonts/*.woff "$out/share/fonts/woff/"
26     cp fonts/*.woff2 "$out/share/fonts/woff2/"
28     runHook postInstall
29   '';
31   passthru.updateScript = nix-update-script { };
33   meta = with lib; {
34     description = "7000+ Material Design Icons from the Community";
35     longDescription = ''
36       Material Design Icons' growing icon collection allows designers and
37       developers targeting various platforms to download icons in the format,
38       color and size they need for any project.
39     '';
40     homepage = "https://materialdesignicons.com";
41     license = licenses.asl20;
42     platforms = platforms.all;
43     maintainers = with maintainers; [ vlaci dixslyf ];
44   };