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