[bug#33324] gnu: Add emacs-ivy-rich.

Message ID cublg61cl9i.fsf@gmx.com
State New
Headers show
Series
  • [bug#33324] gnu: Add emacs-ivy-rich.
Related show

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

Pierre Langlois Nov. 10, 2018, 9:52 a.m. UTC
Pierre Langlois writes:

> Hello Guix!
>
> Here's a patch for the wonderful ivy-rich package :-).

Whoops, I forgot the changelog entry, updated.

Thanks,
Pierre

Comments

Ludovic Courtès Nov. 10, 2018, 10:25 p.m. UTC | #1
Hi,

Pierre Langlois <pierre.langlois@gmx.com> skribis:

> From 7ad5eeb4b83a2085cc8a49e8ba6254ab3411e9f6 Mon Sep 17 00:00:00 2001
> From: Pierre Langlois <pierre.langlois@gmx.com>
> Date: Sat, 3 Nov 2018 10:28:37 +0000
> Subject: [PATCH] gnu: Add emacs-ivy-rich.
>
> * gnu/packages/emacs.scm (emacs-ivy-rich): New variable.

Applied, thanks!

Ludo’.

Patch

From 7ad5eeb4b83a2085cc8a49e8ba6254ab3411e9f6 Mon Sep 17 00:00:00 2001
From: Pierre Langlois <pierre.langlois@gmx.com>
Date: Sat, 3 Nov 2018 10:28:37 +0000
Subject: [PATCH] gnu: Add emacs-ivy-rich.

* gnu/packages/emacs.scm (emacs-ivy-rich): New variable.
---
 gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index c6008e6a94..421f444caa 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -40,6 +40,7 @@ 
 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
 ;;; Copyright © 2018 Alex Branham <alex.branham@gmail.com>
 ;;; Copyright © 2018 Thorsten Wilms <t_w_@freenet.de>
+;;; Copyright © 2018 Pierre Langlois <pierre.langlois@gmx.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3848,6 +3849,31 @@  use it, call @code{M-x ivy-yasnippet} (but make sure you have enabled
 @code{yas-minor-mode} first).")
       (license license:gpl3+))))
 
+(define-public emacs-ivy-rich
+  (package
+    (name "emacs-ivy-rich")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/Yevgnen/ivy-rich/archive/"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "14r3mx5rkd4wz0ls5pv5w6c7la3z9iy93d3jfind3xyg4kywy95c"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-ivy" ,emacs-ivy)))
+    (home-page "https://github.com/Yevgnen/ivy-rich")
+    (synopsis "More friendly interface for @code{ivy}")
+    (description
+     "This package extends @code{ivy} by showing more information in the
+minibuffer for each candidate.  It adds columns showing buffer modes, file
+sizes, docstrings, ...etc.  If @code{emacs-all-the-icons} is installed, it can
+show icons as well.")
+    (license license:gpl3+)))
+
 (define-public emacs-avy
   (package
     (name "emacs-avy")
-- 
2.19.1