Subject: [PATCH 03/12] gnu: Add emacs-nerd-icons.

From: Ahmad Draidi <[email-masked]>
Date: Fri, 21 Jul 2023 18:44:33 +0400

* gnu/packages/emacs-xyz.scm (emacs-nerd-icons): New variable.
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8d3c069609..5d481f50d7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9984,6 +9984,34 @@ (define-public emacs-purescript-mode
       (description "This package provides an Emacs major mode for writing Purescript.")
       (license license:gpl3+))))
 
+;; Package has no releases or tags.  Version is extracted from "Version:"
+;; keyword in main file.
+(define-public emacs-nerd-icons
+  (let ((commit "a83d47f6dc4db0ae2f38c0c534de58f02285cea6")
+        (revision "0"))
+    (package
+      (name "emacs-nerd-icons")
+      (version (git-version "0.0.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/rainstormstudio/nerd-icons.el")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0l9657dg1c2bj25a7qnmshzmsmfl1m4mhx1x0b3v9k6r4gqp68qa"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list #:include #~(cons "^data\\/[^/]*\\.el$" %default-include)))
+      (home-page "https://github.com/rainstormstudio/nerd-icons.el")
+      (synopsis "Emacs Nerd Font icons library")
+      (description
+       "This package provides a library for easily using @code{Nerd Font}
+icons inside Emacs, an alternative to @code{all-the-icons}.  It works on both
+GUI and terminal.  You only need a @code{Nerd Font} installed on your system.")
+      (license license:gpl3+))))
+
 (define-public emacs-new-purescript-mode
   (let ((commit "9f7bb73e26340fcd2ea1946dbad165f0406eb3e1")
         (revision "0"))
-- 
2.41.0