Subject: [fonts] Add font-fira-sans
From: ng0 <[email-masked]>
To: [email-masked]
Date: Fri, 4 Aug 2017 19:24:28 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

This is not the canonical upstream source. But the upstream
source bundles many pdf files (one for each variant I assume) and
has a layout which makes it impossible to use our font-build-system.

Mozilla (where the upstream team works with), size: 90.2MiB
Upstream: 96.6MiB

Is it still acceptable for us to use github in this case?

Upstream source is https://carrois.com/typefaces/FiraSans/#!layout=editor
in case anyone wants to take a look.

The appended patch uses the github of mozilla as source.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
From e4c81044bf483891c57a3e7b162baee58f08e526 Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Fri, 4 Aug 2017 19:13:51 +0000
Subject: [PATCH] gnu: add font-fira-sans.

* gnu/packages/fonts.scm (font-fira-sans): New variable.
---
 gnu/packages/fonts.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 51073eff9..e009c6a67 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -825,6 +825,24 @@ designed to work well in user interface environments.")
     (description "This is the typeface used by Mozilla in Firefox OS.")
     (license license:silofl1.1)))
 
+(define-public font-fira-sans
+  (package
+    (name "font-fira-sans")
+    (version "4.202")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/mozilla/Fira/archive/"
+                                  version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1r6zdnqqp4bgq5nmgqbj0vvj7x1h9w912851ggbl9wc7fdjnjqnq"))))
+    (build-system font-build-system)
+    (home-page "http://mozilla.github.io/Fira/")
+    (synopsis "Mozilla's Fira Sans Font")
+    (description "This is the typeface used by Mozilla in Firefox OS.")
+    (license license:silofl1.1)))
+
 (define-public font-awesome
   (package
    (name "font-awesome")
-- 
2.13.4