unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44476] [PATCH] gnu: fonts.scm: Add nerd-fonts
@ 2020-11-06  7:36 Barnabas Beres
  2020-11-06 11:48 ` Tobias Geerinckx-Rice via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Barnabas Beres @ 2020-11-06  7:36 UTC (permalink / raw)
  To: 44476; +Cc: Barnabas Beres

* gnu/packages/fonts.scm (nerd-fonts): New variable
---
 gnu/packages/fonts.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 360a3ece76..3969d5eb97 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -38,6 +38,7 @@
 ;;; Copyright © 2020 Simen Endsjø <simendsjo@gmail.com>
 ;;; Copyright © 2020 Tim Van den Langenbergh <tmt_vdl@gmx.com>
 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
+;;; Copyright © 2020 Barnabas Beres <beresbarnus03@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1979,3 +1980,36 @@ operators and special symbols.")
 is a stylish type with a polished yet relaxed feel.  Its versatility makes it
 suitable for a wide range of uses.")
       (license license:silofl1.1))))
+
+(define-public font-nerd-fonts
+  (package
+    (name "font-nerd-fonts")
+    (version "2.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ryanoasis/nerd-fonts")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1la79y16k9rwcl2zsxk73c0kgdms2ma43kpjfqnq5jlbfdj0niwg"))))
+    (build-system font-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'make-files-writable
+           (lambda _
+             (for-each
+              make-file-writable
+              (find-files "." ".*\\.(otf|otc|ttf|ttc)$"))
+             #t)))))
+    (home-page "https://www.nerdfonts.com/")
+    (synopsis "Iconic font aggregator, collection, and patcher")
+    (description
+     "Nerd Fonts patches developer targeted fonts with a high number
+of glyphs (icons).  Specifically to add a high number of extra glyphs
+from popular ‘iconic fonts’ such as Font Awesome, Devicons, Octicons,
+and others.")
+    (license license:expat)))
-- 
2.26.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#44476] [PATCH] gnu: fonts.scm: Add nerd-fonts
  2020-11-06  7:36 [bug#44476] [PATCH] gnu: fonts.scm: Add nerd-fonts Barnabas Beres
@ 2020-11-06 11:48 ` Tobias Geerinckx-Rice via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2020-11-06 11:48 UTC (permalink / raw)
  To: 44476

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

Barnabas,

Thank you for your contribution!

Sending multiple mails to bug-guix@ requires a ritual dance[0] 
with our bug tracker.

Every time you send mail to bug-guix@gnu.org without CC'ing a bug 
number, the Debbugs software will create a new bug number for you. 
Unconditionally.  In this case, http://issues.guix.gnu.org/44476, 
/44477, and /44478.  I've merged them.

Kind regards,

T G-R

[0]: 
https://guix.gnu.org/manual/en/guix.html#Sending-a-Patch-Series-1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-06 11:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-06  7:36 [bug#44476] [PATCH] gnu: fonts.scm: Add nerd-fonts Barnabas Beres
2020-11-06 11:48 ` Tobias Geerinckx-Rice via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).