nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 30 lines 715 B view raw
1{ lib, stdenvNoCC, fetchFromGitHub }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "material-icons"; 5 version = "3.0.1"; 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = "material-design-icons"; 10 rev = version; 11 hash = "sha256-4FphNJCsaLWzlVR4TmXnDBid0EVj39fkeoh5j1leBZ8="; 12 }; 13 14 installPhase = '' 15 runHook preInstall 16 17 mkdir -p $out/share/fonts/truetype 18 cp iconfont/*.ttf $out/share/fonts/truetype 19 20 runHook postInstall 21 ''; 22 23 meta = with lib; { 24 description = "System status icons by Google, featuring material design"; 25 homepage = "https://material.io/icons"; 26 license = licenses.asl20; 27 platforms = platforms.all; 28 maintainers = with maintainers; [ mpcsh ]; 29 }; 30}