material-icons: 3.0.1 -> 4.0.0

This commit is contained in:
Guanran Wang 2024-02-01 14:22:23 +08:00
parent f7ad447248
commit 955bc676eb
No known key found for this signature in database

View File

@ -2,20 +2,23 @@
stdenvNoCC.mkDerivation rec {
pname = "material-icons";
version = "3.0.1";
version = "4.0.0";
src = fetchFromGitHub {
owner = "google";
repo = "material-design-icons";
rev = version;
hash = "sha256-4FphNJCsaLWzlVR4TmXnDBid0EVj39fkeoh5j1leBZ8=";
hash = "sha256-wX7UejIYUxXOnrH2WZYku9ljv4ZAlvgk8EEJJHOCCjE=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/truetype
cp iconfont/*.ttf $out/share/fonts/truetype
cp font/*.ttf $out/share/fonts/truetype
mkdir -p $out/share/fonts/opentype
cp font/*.otf $out/share/fonts/opentype
runHook postInstall
'';