unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#34963] [PATCH] Add emacs-prescient
@ 2019-03-24  0:03 Brian Leung
  2019-03-25  9:38 ` bug#34963: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Leung @ 2019-03-24  0:03 UTC (permalink / raw)
  To: 34963


[-- Attachment #1.1: Type: text/plain, Size: 14 bytes --]

See attached.

[-- Attachment #1.2: Type: text/html, Size: 39 bytes --]

[-- Attachment #2: 0001-gnu-Add-emacs-prescient.patch --]
[-- Type: text/x-patch, Size: 1804 bytes --]

From df74f04ba2adb1e2e9067ec453647c767d9b8c48 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Sun, 24 Mar 2019 00:59:47 +0100
Subject: [PATCH] gnu: Add emacs-prescient.

* gnu/packages/emacs-xyz.scm (emacs-prescient): 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 0f040b2b07..e30df67e9e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3535,6 +3535,31 @@ of sixteen colors suitable for a wide range of applications.  Base16 is not a
 single theme but a set of guidelines with numerous implementations.")
     (license license:expat)))
 
+(define-public emacs-prescient
+  (package
+    (name "emacs-prescient")
+    (version "2.2.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/raxod502/prescient.el/")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1ncplx5p3cffyzg9ygzqqxj0vpvwrz9rp2n4z6c375a78fyydrk0"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-company" ,emacs-company)
+       ("emacs-ivy" ,emacs-ivy)))
+    (home-page "https://github.com/raxod502/prescient.el/")
+    (synopsis "A library that sorts and filters lists of candidates")
+    (description
+     "This package provides a library for sorting and filtering, as well as
+extensions for @code{ivy-mode} and @code{company-mode} that make use of the
+library.")
+    (license license:gpl3+)))
+
 (define-public emacs-smartparens
   (package
     (name "emacs-smartparens")
-- 
2.21.0


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

* bug#34963: [PATCH] Add emacs-prescient
  2019-03-24  0:03 [bug#34963] [PATCH] Add emacs-prescient Brian Leung
@ 2019-03-25  9:38 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-03-25  9:38 UTC (permalink / raw)
  To: Brian Leung; +Cc: 34963-done

Brian Leung <bkleung89@gmail.com> skribis:

> From df74f04ba2adb1e2e9067ec453647c767d9b8c48 Mon Sep 17 00:00:00 2001
> From: Brian Leung <bkleung89@gmail.com>
> Date: Sun, 24 Mar 2019 00:59:47 +0100
> Subject: [PATCH] gnu: Add emacs-prescient.
>
> * gnu/packages/emacs-xyz.scm (emacs-prescient): New variable.

[...]

> +    (synopsis "A library that sorts and filters lists of candidates")

I removed the “A” as ‘guix lint’ suggested :-) and committed, thanks!

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

end of thread, other threads:[~2019-03-25  9:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-24  0:03 [bug#34963] [PATCH] Add emacs-prescient Brian Leung
2019-03-25  9:38 ` bug#34963: " Ludovic Courtès

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