public-sans: init at 1.002

This commit is contained in:
Will Dietz 2019-05-06 23:05:01 -05:00
parent 5e407fcbb0
commit fac13d8af5
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchzip }:
let
version = "1.002";
in fetchzip rec {
name = "public-sans-${version}";
url = "https://github.com/uswds/public-sans/releases/download/v${version}/public-sans-v${version}.zip";
postFetch = ''
mkdir -p $out/share
unzip $downloadedFile fonts/{otf,variable}/\*.\[ot\]tf -d $out/share/
'';
sha256 = "1j792i6350sp63l04jww5rpnsfz9zkj97rd378yxnpnwf2a8nv4k";
meta = with stdenv.lib; {
description = "A strong, neutral, principles-driven, open source typeface for text or display";
homepage = https://public-sans.digital.gov/;
license = licenses.ofl;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.all;
};
}

View File

@ -16286,6 +16286,8 @@ in
proggyfonts = callPackage ../data/fonts/proggyfonts { };
public-sans = callPackage ../data/fonts/public-sans { };
qogir-theme = callPackage ../data/themes/qogir { };
route159 = callPackage ../data/fonts/route159 { };