mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
material-design-icons: 6.6.96 -> 7.0.96
Also fixes the build which was broken due to #173430.
This commit is contained in:
parent
7b06206fa2
commit
b60fb3b293
@ -1,7 +1,7 @@
|
||||
{ lib, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
version = "6.6.96";
|
||||
version = "7.0.96";
|
||||
in fetchFromGitHub {
|
||||
name = "material-design-icons-${version}";
|
||||
owner = "Templarian";
|
||||
@ -9,17 +9,19 @@ in fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
|
||||
postFetch = ''
|
||||
tar xf $downloadedFile --strip=1
|
||||
mkdir -p $out/share/fonts/{eot,truetype,woff,woff2}
|
||||
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/
|
||||
mv $out/fonts/*.eot $out/share/fonts/eot/
|
||||
mv $out/fonts/*.ttf $out/share/fonts/truetype/
|
||||
mv $out/fonts/*.woff $out/share/fonts/woff/
|
||||
mv $out/fonts/*.woff2 $out/share/fonts/woff2/
|
||||
shopt -s extglob dotglob
|
||||
rm -rf $out/!(share)
|
||||
shopt -u extglob dotglob
|
||||
'';
|
||||
sha256 = "sha256-rfDb9meTF0Y0kiCQd11SgnntQnw34Ti/IXn35xaPO1M=";
|
||||
sha256 = "sha256-l60LRXLwLh+7Ls3kMTJ5eDTVpVMcqtshMv/ehIk8fCk=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "4600+ Material Design Icons from the Community";
|
||||
description = "7000+ Material Design Icons from the Community";
|
||||
longDescription = ''
|
||||
Material Design Icons' growing icon collection allows designers and
|
||||
developers targeting various platforms to download icons in the format,
|
||||
|
Loading…
Reference in New Issue
Block a user