forked from mirrors/nixpkgs
public-sans: 1.008 -> 2.000
https://github.com/uswds/public-sans/releases/tag/v2.000
This commit is contained in:
parent
3572d2f04f
commit
f47f64866e
|
@ -1,7 +1,7 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
version = "1.008";
|
||||
version = "2.000";
|
||||
in fetchzip {
|
||||
name = "public-sans-${version}";
|
||||
|
||||
|
@ -9,14 +9,11 @@ in fetchzip {
|
|||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
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
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
sha256 = "1s4xmliri3r1gcn1ws3wa6davj6giliqjdbcv0bh9ryg3dfpjz74";
|
||||
sha256 = "0r34h9mim5c3h48cpq2m2ixkdqhv3i594pip10pavkmskldpbha5";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A strong, neutral, principles-driven, open source typeface for text or display";
|
||||
|
|
Loading…
Reference in a new issue