From f47f64866e8424580f6e595498b3f4bbc4e99a5a Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 1 Nov 2021 04:20:00 +0000 Subject: [PATCH] public-sans: 1.008 -> 2.000 https://github.com/uswds/public-sans/releases/tag/v2.000 --- pkgs/data/fonts/public-sans/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/data/fonts/public-sans/default.nix b/pkgs/data/fonts/public-sans/default.nix index 7d7a81ec7e73..88da0cb5d558 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";