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

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

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5d481f50d7..98e5488f3d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10012,6 +10012,33 @@ (define-public emacs-nerd-icons
 GUI and terminal.  You only need a @code{Nerd Font} installed on your system.")
       (license license:gpl3+))))
 
+;; Package has no releases or tags.  Version is extracted from "Version:"
+;; keyword in main file.
+(define-public emacs-nerd-icons-completion
+  (let ((commit "c2db8557a3c1a9588d111f8c8e91cae96ee85010")
+        (revision "0"))
+    (package
+      (name "emacs-nerd-icons-completion")
+      (version (git-version "0.0.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url
+                       "https://github.com/rainstormstudio/nerd-icons-completion")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "10ll0dj6ym5prrkv6smj0ac2ail4b3rqcrh1lyr61y3cj422vn9z"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-nerd-icons))
+      (home-page "https://github.com/rainstormstudio/nerd-icons-completion")
+      (synopsis "Add icons from nerd-icons to completion candidates")
+      (description
+       "This package adds icons from @code{nerd-icons} to the candidates in
+completion UIs (e.g. @code{vertico}) in Emacs.")
+      (license license:gpl3+))))
+
 (define-public emacs-new-purescript-mode
   (let ((commit "9f7bb73e26340fcd2ea1946dbad165f0406eb3e1")
         (revision "0"))
-- 
2.41.0