I'll have a look on the licensing. It's not worth the effort if this is non free.
Thanks for the feedback!
On August 12, 2022 5:51:09 AM EDT, Liliana Marie Prikler <email@example.com> wrote:
Am Freitag, dem 12.08.2022 um 00:23 -0400 schrieb Benoit Joly:
* gnu/packages/fonts (font-nerd-fonts-firacode): New variable.Use (uri (string-append "..."
gnu/packages/fonts.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 20b55bce96..0ce9ba8414 100644
@@ -51,6 +51,7 @@
;;; Copyright © 2021 Liliana Marie Prikler
;;; Copyright © 2022 Jose G Perez Taveras <firstname.lastname@example.org>
;;; Copyright © 2022 Hilton Chain <email@example.com>
+;;; Copyright © 2022 Benoit Joly <firstname.lastname@example.org>
;;; This file is part of GNU Guix.
@@ -2795,3 +2796,37 @@ (define-public font-chiron-hei-hk
Kong variant of Adobe’s Source Han Sans. The font aims at providing
region-agnostic glyph set adopting the “modern” glyph style that is
prevalent typefaces in Traditional Chinese regions.")))
+ (name "font-nerd-fonts-fira-code")
+ (version "2.1.0")
+ (method url-fetch)
+ (build-system font-build-system)Why do the files need to be made writable for install?
+ (modify-phases %standard-phases
+ (add-before 'install 'make-files-writable
+ (lambda _
+ (find-files "." ".*\\.(otf|otc|ttf|ttc)$"))
+ (home-page "https://www.nerdfonts.com/")The description should consist of full sentences. Note that Nerd fonts
+ (synopsis "Nerd fonts variant of FiraCode font")
+ "Nerd fonts variant of FiraCode font. Nerd Fonts is a project
+developer targeted fonts with a high number of glyphs (icons).
+add a high number of extra glyphs from popular 'iconic fonts' such
+Awesome, Devicons, Octicons, and others.")
+ (license license:silofl1.1)))
pulls in icons that are licensed under CC BY-NC-ND, which makes them
unfree. I'm not sure if those icons are present in the default
distribution, but I'd hazard a guess that they are.
More concerningly, the patches that can be applied via nerd fonts are
directly coded into their font-patcher, rather than, say, distributed
as a json file to be read separately. As far as I'm aware, this makes
nerd-fonts (the tool) itself NG.
Sent from my Android device with K-9 Mail. Please excuse my brevity.