Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
1.2 KiB
Nix

{
lib,
fetchFromGitHub,
stdenvNoCC,
nix-update-script,
}:
stdenvNoCC.mkDerivation rec {
pname = "material-design-icons";
version = "7.4.47";
src = fetchFromGitHub {
owner = "Templarian";
repo = "MaterialDesign-Webfont";
tag = "v${version}";
hash = "sha256-7t3i3nPJZ/tRslLBfY+9kXH8TR145GC2hPFYJeMHRL8=";
sparseCheckout = [ "fonts" ];
};
installPhase = ''
runHook preInstall
mkdir -p "$out/share/fonts/"{eot,truetype,woff,woff2}
cp fonts/*.eot "$out/share/fonts/eot/"
cp fonts/*.ttf "$out/share/fonts/truetype/"
cp fonts/*.woff "$out/share/fonts/woff/"
cp fonts/*.woff2 "$out/share/fonts/woff2/"
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "7000+ Material Design Icons from the Community";
longDescription = ''
Material Design Icons' growing icon collection allows designers and
developers targeting various platforms to download icons in the format,
color and size they need for any project.
'';
homepage = "https://materialdesignicons.com";
license = licenses.asl20;
platforms = platforms.all;
maintainers = with maintainers; [
vlaci
dixslyf
];
};
}