2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchFromGitHub }:
|
2017-08-02 08:48:27 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
let
|
2017-08-02 08:48:27 +02:00
|
|
|
version = "3.0.1";
|
2019-05-13 03:55:32 +02:00
|
|
|
in fetchFromGitHub {
|
|
|
|
name = "material-icons-${version}";
|
2017-08-02 08:48:27 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
owner = "google";
|
|
|
|
repo = "material-design-icons";
|
|
|
|
rev = version;
|
2017-08-02 08:48:27 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
postFetch = ''
|
|
|
|
tar xf $downloadedFile --strip=1
|
2017-08-02 08:48:27 +02:00
|
|
|
mkdir -p $out/share/fonts/truetype
|
2019-05-13 03:55:32 +02:00
|
|
|
cp iconfont/*.ttf $out/share/fonts/truetype
|
2017-08-02 08:48:27 +02:00
|
|
|
'';
|
2019-05-13 03:55:32 +02:00
|
|
|
sha256 = "1syy6v941lb8nqxhdf7mfx28v05lwrfnq53r3c1ym13x05l9kchp";
|
2017-08-02 08:48:27 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2017-08-02 08:48:27 +02:00
|
|
|
description = "System status icons by Google, featuring material design";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://material.io/icons";
|
2017-08-02 08:48:27 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ mpcsh ];
|
|
|
|
};
|
|
|
|
}
|