Subject: [bug#69933] [PATCH 1/2] gnu: Add font-symbols-nerd.

From: normally_js <[email-masked]>
Date: Thu, 21 Mar 2024 21:37:56 +0000

* gnu/packages/fonts.scm (font-symbols-nerd): New variable.

Change-Id: I9ce3b60a775bffeff8ca3a9ebbd90f66ebf614ff
---
 gnu/packages/fonts.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 9ec722c19c..7ab576b506 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -60,6 +60,7 @@
 ;;; Copyright © 2023 chris <[email-masked]>
 ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <[email-masked]>
 ;;; Copyright © 2024 Christina O'Donnell <[email-masked]>
+;;; Copyright © 2024 normally_js <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3578,6 +3579,29 @@ (define-public font-scientifica
 Most characters are just 4px wide, which is brilliant for low dpi(90-120) displays.")
     (license license:silofl1.1)))
 
+(define-public font-symbols-nerd
+  (package
+    (name "font-symbols-nerd")
+    (version "3.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/ryanoasis/nerd-fonts/releases/download/v"
+             version
+             "/NerdFontsSymbolsOnly.zip"))
+       (sha256
+        (base32 "0xka49qk3r5m3jgpk3fi9b7j593fflg287ck99k12p8czqz62r4c"))))
+    (build-system font-build-system)
+    (home-page "https://www.nerdfonts.com/")
+    (synopsis "Nerd Font symbols standalone package")
+    (description
+     "This package provides just the Nerd Font icons that can be used to patch
+fonts for icon support or provide glyph support to user interfaces.  It
+provides a high number of glyphs in addition to those found in 'iconic' fonts
+like Font Awesome.")
+    (license license:expat)))
+
 (define-public font-tuffy
   (package
     (name "font-tuffy")
-- 
2.41.0