diff --git a/pkgs/data/fonts/public-sans/default.nix b/pkgs/data/fonts/public-sans/default.nix index 7d7a81ec7e7..88da0cb5d55 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";