diff options
| author | Jens M <jens@zete.tk> | 2019-04-24 05:06:38 +1200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2019-04-29 09:51:41 +0200 |
| commit | 245aa0e344c9e09bf23d9463c1855c407c8175be (patch) | |
| tree | 7e057cfaa25d158c3dab46dd0dce06e91587d226 | |
| parent | 772bcb1cf00720c150ea13303d5971afaaaca43a (diff) | |
gnu: Add font-public-sans.
* gnu/packages/fonts.scm (font-public-sans): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| -rw-r--r-- | gnu/packages/fonts.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 569a7f807ea..8961f855afd 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm | |||
| @@ -1397,3 +1397,31 @@ files (TTF).") | |||
| 1397 | formatting.") | 1397 | formatting.") |
| 1398 | (home-page "https://madmalik.github.io/mononoki/") | 1398 | (home-page "https://madmalik.github.io/mononoki/") |
| 1399 | (license license:silofl1.1))) | 1399 | (license license:silofl1.1))) |
| 1400 | |||
| 1401 | (define-public font-public-sans | ||
| 1402 | (package | ||
| 1403 | (name "font-public-sans") | ||
| 1404 | (version "1.0.0") | ||
| 1405 | (source (origin | ||
| 1406 | (method git-fetch) | ||
| 1407 | (uri (git-reference | ||
| 1408 | (url "https://github.com/uswds/public-sans.git") | ||
| 1409 | (commit (string-append "v" version)))) | ||
| 1410 | (file-name (git-file-name name version)) | ||
| 1411 | (sha256 | ||
| 1412 | (base32 | ||
| 1413 | "12ccj7ph3pg962d52d3slbvd44gwfm6bb2846dxyf1xc5h2iwhdv")) | ||
| 1414 | (modules '((guix build utils))) | ||
| 1415 | (snippet | ||
| 1416 | '(begin | ||
| 1417 | ;; remove versions of predecessor font | ||
| 1418 | (delete-file-recursively "fonts/_archive") | ||
| 1419 | #t)))) | ||
| 1420 | (build-system font-build-system) | ||
| 1421 | (home-page "https://public-sans.digital.gov/") | ||
| 1422 | (synopsis | ||
| 1423 | "Strong, neutral typeface for interfaces, text, and headings") | ||
| 1424 | (description | ||
| 1425 | "Public Sans is a strong, neutral, principles-driven, open-source | ||
| 1426 | typeface for text or display based on Libre Franklin.") | ||
| 1427 | (license license:silofl1.1))) | ||
