From 0c66069c92f6ed4b9b1c7d7b331a515a45e7295e Mon Sep 17 00:00:00 2001 From: Jens M Date: Thu, 8 Nov 2018 21:03:56 +1300 Subject: [PATCH 1/2] gnu: Add font-adobe-source-sans-pro --- gnu/packages/fonts.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 1195695d7..0fb275529 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -857,6 +857,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") -- 2.19.1