aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens M <jens@zete.tk>2018-11-08 21:03:56 +1300
committerLeo Famulari <leo@famulari.name>2019-02-12 18:41:33 -0500
commit27e65afc10df2e6a7a20272b22a12404247f2585 (patch)
tree04c280abc8306a2e4d2d6384b9019cfa998466a2
parent7fafdadd4267b1b9c3e2898415a91d7b2ff6fdc7 (diff)
downloadguix-27e65afc10df2e6a7a20272b22a12404247f2585.tar
guix-27e65afc10df2e6a7a20272b22a12404247f2585.tar.gz
gnu: Add font-adobe-source-sans-pro.
* gnu/packages/fonts.scm (font-adobe-source-sans-pro): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
-rw-r--r--gnu/packages/fonts.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index f77f9da163..7dae798438 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
;;; Copyright © 2018 Charlie Ritter <chewzerita@posteo.net>
;;; Copyright © 2018 Gabriel Hondet <gabrielhondet@gmail.com>
+;;; Copyright © 2019 Jens Mølgaard <jens@zete.tk>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -857,6 +858,31 @@ Powerline support.")
designed to work well in user interface environments.")
(license license:silofl1.1)))
+(define-public font-adobe-source-sans-pro
+ (package
+ (name "font-adobe-source-sans-pro")
+ (version "2.040R-ro-1.090R-it")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/adobe-fonts/source-sans-pro/archive/"
+ (regexp-substitute/global
+ ;; The upstream tag uses "/" between the roman and italic
+ ;; versions, so substitute our "-" separator here.
+ #f "R-ro-" version 'pre "R-ro/" 'post) ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1wpbhd2idps53ph8rg1mhr3vz4lsgbpjprcq10nliwcxdz9d8lv0"))))
+ (build-system font-build-system)
+ (home-page "https://github.com/adobe-fonts/source-sans-pro")
+ (synopsis
+ "Sans serif font family for user interface environments")
+ (description
+ "Source Sans Pro is a set of OpenType fonts that have been designed to
+work well in user interface (UI) environments.")
+ (license license:silofl1.1)))
+
(define-public font-fira-mono
(package
(name "font-fira-mono")