2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchFromGitHub }:
|
2018-12-30 09:54:21 +01:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
let
|
2020-06-25 01:06:24 +02:00
|
|
|
version = "5.3.45";
|
2019-05-13 03:55:32 +02:00
|
|
|
in fetchFromGitHub {
|
|
|
|
name = "material-design-icons-${version}";
|
|
|
|
owner = "Templarian";
|
|
|
|
repo = "MaterialDesign-Webfont";
|
|
|
|
rev = "v${version}";
|
2018-12-30 09:54:21 +01:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
postFetch = ''
|
|
|
|
tar xf $downloadedFile --strip=1
|
2020-01-01 20:43:25 +01:00
|
|
|
mkdir -p $out/share/fonts/{eot,truetype,woff,woff2}
|
2018-12-30 09:54:21 +01:00
|
|
|
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/
|
|
|
|
'';
|
2020-06-25 01:06:24 +02:00
|
|
|
sha256 = "1nwha6dbj97ybiwlf69la57l3ibmwgnzs0nr104bfqnqxjs471sx";
|
2018-12-30 09:54:21 +01:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2020-06-25 01:06:24 +02:00
|
|
|
description = "4600+ Material Design Icons from the Community";
|
2018-12-30 09:54:21 +01: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.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://materialdesignicons.com";
|
2018-12-30 09:54:21 +01:00
|
|
|
license = with licenses; [
|
|
|
|
asl20 # for icons from: https://github.com/google/material-design-icons
|
|
|
|
ofl
|
|
|
|
];
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ vlaci ];
|
|
|
|
};
|
|
|
|
}
|