From 760e34b28777591375f4897b4eeb6e8279c876f0 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 20 Jan 2018 09:12:15 +0000 Subject: gnu: Add font-fira-code. * gnu/packages/fonts.scm (font-fira-code): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/fonts.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'gnu/packages/fonts.scm') 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 ;;; Copyright © 2015, 2017 Ricardo Wurmus ;;; Copyright © 2015, 2016 Leo Famulari -;;; Copyright © 2016, 2017 ng0 +;;; Copyright © 2016, 2017, 2018 ng0 ;;; Copyright © 2016 Jookia <166291@gmail.com> ;;; Copyright © 2016 Eric Bavier ;;; Copyright © 2016 Dmitry Nikolaev @@ -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") -- cgit 1.4.1 From b253e7b9acc3260390e693900df1c2081e8bc4f5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 28 Jan 2018 21:43:27 +0200 Subject: gnu: Use https for mozilla.github.io. * gnu/packages/fonts.scm (font-fira-mono, font-fira-sans)[home-page]: Use 'https'. --- gnu/packages/fonts.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/fonts.scm') diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index e0d5732453..ccf05fec2d 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2016 Jookia <166291@gmail.com> ;;; Copyright © 2016 Eric Bavier ;;; Copyright © 2016 Dmitry Nikolaev -;;; Copyright © 2016, 2017 Efraim Flashner +;;; Copyright © 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2016 Marius Bakke ;;; Copyright © 2016 Toni Reina ;;; Copyright © 2017 Tobias Geerinckx-Rice @@ -865,7 +865,7 @@ designed to work well in user interface environments.") (base32 "1z65x0dw5dq6rs6p9wyfrir50rlh95vgzsxr8jcd40nqazw4jhpi")))) (build-system font-build-system) - (home-page "http://mozilla.github.io/Fira/") + (home-page "https://mozilla.github.io/Fira/") (synopsis "Mozilla's monospace font") (description "This is the typeface used by Mozilla in Firefox OS.") (license license:silofl1.1))) @@ -883,7 +883,7 @@ designed to work well in user interface environments.") (base32 "1r6zdnqqp4bgq5nmgqbj0vvj7x1h9w912851ggbl9wc7fdjnjqnq")))) (build-system font-build-system) - (home-page "http://mozilla.github.io/Fira/") + (home-page "https://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))) -- cgit 1.4.1