summary refs log tree commit diff
path: root/pkgs/data/fonts/public-sans
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-11-01 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2021-11-01 04:20:00 +0000
commitf47f64866e8424580f6e595498b3f4bbc4e99a5a (patch)
tree162b7a38e6af1de0804211bd171d79d0cfd62e30 /pkgs/data/fonts/public-sans
parent3572d2f04fb2afe789fd853aeb29c5fa0424e25b (diff)
public-sans: 1.008 -> 2.000
https://github.com/uswds/public-sans/releases/tag/v2.000
Diffstat (limited to 'pkgs/data/fonts/public-sans')
-rw-r--r--pkgs/data/fonts/public-sans/default.nix11
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/data/fonts/public-sans/default.nix b/pkgs/data/fonts/public-sans/default.nix
index 7d7a81ec7e735..88da0cb5d558a 100644
--- a/pkgs/data/fonts/public-sans/default.nix
+++ b/pkgs/data/fonts/public-sans/default.nix
@@ -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";