2023-02-02 18:25:31 +00:00
|
|
|
{ lib, fetchFromGitHub, stdenvNoCC }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "material-design-icons";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "7.3.67";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Templarian";
|
|
|
|
repo = "MaterialDesign-Webfont";
|
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-gQT+5MqYo1qUiLJTzlhF5dB5BZMtr34JWn9rMa9MJvQ=";
|
2023-02-02 18:25:31 +00:00
|
|
|
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
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-12-17 10:02:37 +00:00
|
|
|
description = "7000+ Material Design Icons from the Community";
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2022-04-15 01:41:22 +00:00
|
|
|
license = licenses.asl20;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.all;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ vlaci dixslyf ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|