unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53474] [PATCH] gnu: Add emacs-all-the-icons-completion.
@ 2022-01-23 14:03 Brandon Lucas
  2022-01-23 17:29 ` bug#53474: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Brandon Lucas @ 2022-01-23 14:03 UTC (permalink / raw)
  To: 53474; +Cc: Brandon Lucas

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8edbfc5a3d..db514e1145 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22311,6 +22311,31 @@ (define-public emacs-all-the-icons
     (license
      (list license:expat license:gpl3+ license:silofl1.1 license:asl2.0))))

+(define-public emacs-all-the-icons-completion
+  ;; No tags. Version comes from latest melpa build.
+  (let ((commit "9e7d456b0934ecb568b6f05a8445e3f4ce32261f")
+        (revision "0"))
+    (package
+      (name "emacs-all-the-icons-completion")
+      (version (git-version "20220106.1310" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/iyefrat/all-the-icons-completion")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "04bnmmd6lyx0p39sgymqvmcy7bk8mr7sikbpy49adxi7d2891ldg"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-all-the-icons))
+      (home-page "https://github.com/iyefrat/all-the-icons-completion")
+      (synopsis "Add icons to completion candidates")
+      (description "Add icons to completion candidates using the built in
+completion metadata functions.  For example, with this package, @code{find-file}
+can display a file icon for each candidate based on the file type.")
+      (license license:gpl3+))))
+
 (define-public emacs-wttrin
   (let ((commit "df5427ce2a5ad4dab652dbb1c4a1834d7ddc2abc")
         (revision "1"))
--
2.34.0






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#53474: [PATCH] gnu: Add emacs-all-the-icons-completion.
  2022-01-23 14:03 [bug#53474] [PATCH] gnu: Add emacs-all-the-icons-completion Brandon Lucas
@ 2022-01-23 17:29 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-01-23 17:29 UTC (permalink / raw)
  To: Brandon Lucas; +Cc: 53474-done

Hello,

Brandon Lucas <br@ndon.dk> writes:

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

Thank you.

> +  ;; No tags. Version comes from latest melpa build.
> +  (let ((commit "9e7d456b0934ecb568b6f05a8445e3f4ce32261f")
> +        (revision "0"))
> +    (package
> +      (name "emacs-all-the-icons-completion")
> +      (version (git-version "20220106.1310" revision commit))

We don't use fancy MELPA versioning. In this situation, base version is
extracted from "Version" keyword in the header of the main file.

> +      (description "Add icons to completion candidates using the built in
> +completion metadata functions.  For example, with this package, @code{find-file}
> +can display a file icon for each candidate based on the file type.")

I reworded the first sentence so it would be complete.

Applied!

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-23 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-23 14:03 [bug#53474] [PATCH] gnu: Add emacs-all-the-icons-completion Brandon Lucas
2022-01-23 17:29 ` bug#53474: " Nicolas Goaziou

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).