1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

material-design-icons: init at 3.2.89 (#52969)

It is a bit unfortunate that the name is so close to material-icons,
however it is consistent with the project name and how it is present
in AUR (ttf-material-design-icons-git)
This commit is contained in:
László Vaskó 2018-12-30 09:54:21 +01:00 committed by Timo Kaufmann
parent 4fc5480db2
commit bd12f74827
3 changed files with 45 additions and 0 deletions

View file

@ -4677,6 +4677,11 @@
github = "vklquevs"; github = "vklquevs";
name = "vklquevs"; name = "vklquevs";
}; };
vlaci = {
email = "laszlo.vasko@outlook.com";
github = "vlaci";
name = "László Vaskó";
};
vlstill = { vlstill = {
email = "xstill@fi.muni.cz"; email = "xstill@fi.muni.cz";
github = "vlstill"; github = "vlstill";

View file

@ -0,0 +1,38 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "material-design-icons-${version}";
version = "3.2.89";
src = fetchFromGitHub {
owner = "Templarian";
repo = "MaterialDesign-Webfont";
rev = "v${version}";
sha256 = "1rxaiiij96kqncsrlkyp109m36v28cgxild7z04k4jh79fvmhjvn";
};
installPhase = ''
mkdir -p $out/share/fonts/{eot,svg,truetype,woff,woff2}
cp fonts/*.eot $out/share/fonts/eot/
cp fonts/*.svg $out/share/fonts/svg/
cp fonts/*.ttf $out/share/fonts/truetype/
cp fonts/*.woff $out/share/fonts/woff/
cp fonts/*.woff2 $out/share/fonts/woff2/
'';
meta = with stdenv.lib; {
description = "3200+ 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 = with licenses; [
asl20 # for icons from: https://github.com/google/material-design-icons
ofl
];
platforms = platforms.all;
maintainers = with maintainers; [ vlaci ];
};
}

View file

@ -15632,6 +15632,8 @@ in
materia-theme = callPackage ../data/themes/materia-theme { }; materia-theme = callPackage ../data/themes/materia-theme { };
material-design-icons = callPackage ../data/fonts/material-design-icons { };
material-icons = callPackage ../data/fonts/material-icons { }; material-icons = callPackage ../data/fonts/material-icons { };
meslo-lg = callPackage ../data/fonts/meslo-lg {}; meslo-lg = callPackage ../data/fonts/meslo-lg {};