aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/fonts.scm
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2018-01-20 09:12:15 +0000
committerEfraim Flashner <efraim@flashner.co.il>2018-01-28 21:41:38 +0200
commit760e34b28777591375f4897b4eeb6e8279c876f0 (patch)
tree65af3b0d4af5efc3f8b5d8da6e63da988716dc01 /gnu/packages/fonts.scm
parent6ba7ec6577d8b329c79f611dccda37ae3a401c8a (diff)
downloadguix-760e34b28777591375f4897b4eeb6e8279c876f0.tar
guix-760e34b28777591375f4897b4eeb6e8279c876f0.tar.gz
gnu: Add font-fira-code.
* gnu/packages/fonts.scm (font-fira-code): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/fonts.scm')
-rw-r--r--gnu/packages/fonts.scm25
1 files changed, 24 insertions, 1 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 231f51fb3f..e0d5732453 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -7,7 +7,7 @@
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name>
-;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
+;;; Copyright © 2016, 2017, 2018 ng0 <ng0@n0.is>
;;; Copyright © 2016 Jookia <166291@gmail.com>
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016 Dmitry Nikolaev <cameltheman@gmail.com>
@@ -888,6 +888,29 @@ 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-code
+ (package
+ (name "font-fira-code")
+ (version "1.204")
+ (source (origin
+ (method url-fetch/zipbomb)
+ (uri (string-append "https://github.com/tonsky/FiraCode/releases/"
+ "download/" version
+ "/FiraCode_" version ".zip"))
+ (sha256
+ (base32
+ "17wky221b3igrqhmxgmqiyv1xdfn0nw471vzhpkrvv1w2w1w1k18"))))
+ (build-system font-build-system)
+ (home-page "https://mozilla.github.io/Fira/")
+ (synopsis "Monospaced font with programming ligatures")
+ (description
+ "Fira Code is an extension of the Fira Mono font containing a set of ligatures
+for common programming multi-character combinations. This is just a font rendering
+feature: underlying code remains ASCII-compatible. This helps to read and understand
+code faster. For some frequent sequences like .. or //, ligatures allow us to
+correct spacing.")
+ (license license:silofl1.1)))
+
(define-public font-awesome
(package
(name "font-awesome")