2023-01-30 09:25:57 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2017-08-02 06:48:27 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "material-icons";
|
2017-08-02 06:48:27 +00:00
|
|
|
version = "3.0.1";
|
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "material-design-icons";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-4FphNJCsaLWzlVR4TmXnDBid0EVj39fkeoh5j1leBZ8=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
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
|
2023-01-30 09:25:57 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
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 ];
|
|
|
|
};
|
|
|
|
}
|