Subject: Re: [bug#66588] [PATCH] gnu: Add emacs-nerd-icons.

From: Ludovic Courtès <[email-masked]>
Date: Mon, 23 Oct 2023 23:47:46 +0200

Hi,

Cayetano Santos <[email-masked]> skribis:

> * gnu/packages/emacs-xyz.scm (emacs-nerd-icons): New variable.

The home page was 404 so I fixed it and factorize it (see below).

Applied, thanks!

Ludo’.

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0fda4db0d4..c0bb3f7d0a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28176,12 +28176,11 @@ (define-public emacs-nerd-icons
   (package
     (name "emacs-nerd-icons")
     (version "0.1.0")
+    (home-page "https://github.com/rainstormstudio/nerd-icons.el")
     (source
      (origin
        (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/rainstormstudio/nerd-icons.el")
-             (commit version)))
+       (uri (git-reference (url home-page) (commit version)))
        (file-name (git-file-name name version))
        (sha256
         (base32
@@ -28189,7 +28188,6 @@ (define-public emacs-nerd-icons
     (build-system emacs-build-system)
     (arguments
      (list #:include #~(cons "^data\\/" %default-include)))
-    (home-page "https://github.com/rainstormstudio/nerd-icons")
     (synopsis "Library for easily using nerd font icons inside Emacs")
     (description "Nerd-icons an alternative to all-the-icons.  It works on both
 GUI and terminal, and requires a nerd font installed on your system.")