unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Barnabas Beres <beresbarnus03@gmail.com>
To: 44478@debbugs.gnu.org
Cc: Barnabas Beres <beresbarnus03@gmail.com>
Subject: [bug#44478] [PATCH] gnu: fonts.scm: Add nerd-fonts
Date: Fri,  6 Nov 2020 09:09:38 +0100	[thread overview]
Message-ID: <20201106080938.821-2-beresbarnus03@gmail.com> (raw)
In-Reply-To: <20201106080938.821-1-beresbarnus03@gmail.com>

* 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





  reply	other threads:[~2020-11-06 11:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-06  8:09 [bug#44477] Barnabas Beres
2020-11-06  8:09 ` Barnabas Beres [this message]
2020-11-06  9:27   ` [bug#44478] Barnabás Béres
2020-11-06 12:30   ` [bug#44478] [PATCH] gnu: fonts.scm: Add nerd-fonts Barnabás Béres
2020-11-06 15:30   ` Barnabás Béres
2020-11-06  9:29 ` bug#44477: Barnabás Béres

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201106080938.821-2-beresbarnus03@gmail.com \
    --to=beresbarnus03@gmail.com \
    --cc=44478@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).