summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJens M <jens@zete.tk>2019-04-24 05:06:38 +1200
committerLudovic Courtès <ludo@gnu.org>2019-04-29 09:51:41 +0200
commit245aa0e344c9e09bf23d9463c1855c407c8175be (patch)
tree7e057cfaa25d158c3dab46dd0dce06e91587d226 /gnu/packages
parent772bcb1cf00720c150ea13303d5971afaaaca43a (diff)
downloadguix-245aa0e344c9e09bf23d9463c1855c407c8175be.tar.gz
gnu: Add font-public-sans.
* gnu/packages/fonts.scm (font-public-sans): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/fonts.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 569a7f807e..8961f855af 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1397,3 +1397,31 @@ files (TTF).")
 formatting.")
     (home-page "https://madmalik.github.io/mononoki/")
     (license license:silofl1.1)))
+
+(define-public font-public-sans
+  (package
+    (name "font-public-sans")
+    (version "1.0.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/uswds/public-sans.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "12ccj7ph3pg962d52d3slbvd44gwfm6bb2846dxyf1xc5h2iwhdv"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; remove versions of predecessor font
+                  (delete-file-recursively "fonts/_archive")
+                  #t))))
+    (build-system font-build-system)
+    (home-page "https://public-sans.digital.gov/")
+    (synopsis
+     "Strong, neutral typeface for interfaces, text, and headings")
+    (description
+     "Public Sans is a strong, neutral, principles-driven, open-source
+typeface for text or display based on Libre Franklin.")
+    (license license:silofl1.1)))