public-sans: 1.006 -> 1.007
Changelog: https://github.com/uswds/public-sans/releases/tag/v1.007
This commit is contained in:
parent
daa1b6df95
commit
67d17bc447
@ -1,18 +1,22 @@
|
|||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.006";
|
version = "1.007";
|
||||||
in fetchzip {
|
in fetchzip {
|
||||||
name = "public-sans-${version}";
|
name = "public-sans-${version}";
|
||||||
|
|
||||||
url = "https://github.com/uswds/public-sans/releases/download/v${version}/public-sans-v${version}.zip";
|
url = "https://github.com/uswds/public-sans/releases/download/v${version}/public-sans-v${version}.zip";
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share
|
mkdir -p $out/share/fonts
|
||||||
unzip $downloadedFile fonts/{otf,variable}/\*.\[ot\]tf -d $out/share/
|
unzip -j $downloadedFile binaries/otf/\*.otf -d $out/share/fonts/opentype
|
||||||
|
unzip -j $downloadedFile binaries/variable/\*.ttf -d $out/share/fonts/truetype
|
||||||
|
unzip -j $downloadedFile binaries/webfonts/\*.ttf -d $out/share/fonts/truetype
|
||||||
|
unzip -j $downloadedFile binaries/webfonts/\*.woff -d $out/share/fonts/woff
|
||||||
|
unzip -j $downloadedFile binaries/webfonts/\*.woff2 -d $out/share/fonts/woff2
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sha256 = "1x04mpynfhcgiwx68w5sawgn69xld7k65mbq7n5vcgbfzh2sjwhq";
|
sha256 = "1yzraw08qm1ig7ks850b329xp6zv2znjwl610dppax34kwhqghsm";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A strong, neutral, principles-driven, open source typeface for text or display";
|
description = "A strong, neutral, principles-driven, open source typeface for text or display";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user