guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: Add font-public-sans.


From: guix-commits
Subject: 04/06: gnu: Add font-public-sans.
Date: Mon, 29 Apr 2019 04:17:53 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 245aa0e344c9e09bf23d9463c1855c407c8175be
Author: Jens M <address@hidden>
Date:   Wed Apr 24 05:06:38 2019 +1200

    gnu: Add font-public-sans.
    
    * gnu/packages/fonts.scm (font-public-sans): New variable.
    
    Signed-off-by: Ludovic Court├Ęs <address@hidden>
---
 gnu/packages/fonts.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 569a7f8..8961f85 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]