diff mbox

[2/3] gnu: Add emacs-el-search.

Message ID CAKrPhPMzQq1okLpd-tYFh0vLcZ=_ia995=8EV+SuOs45xtsskw@mail.gmail.com
State New
Headers show

Commit Message

Federico Beffa Oct. 21, 2016, 6:28 a.m. UTC

Comments

Ludovic Court├Ęs Oct. 24, 2016, 9:34 p.m. UTC | #1
Federico Beffa <beffa@ieee.org> skribis:

> From 4e1d6cddf36c3f293006e79013fddca4c4441f34 Mon Sep 17 00:00:00 2001
> From: Federico Beffa <beffa@fbengineering.ch>
> Date: Thu, 20 Oct 2016 17:50:56 +0200
> Subject: [PATCH 2/3] gnu: Add emacs-el-search.
>
> * gnu/packages/emacs.scm (emacs-el-search): New variable.

OK!
diff mbox

Patch

From 4e1d6cddf36c3f293006e79013fddca4c4441f34 Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Thu, 20 Oct 2016 17:50:56 +0200
Subject: [PATCH 2/3] gnu: Add emacs-el-search.

* gnu/packages/emacs.scm (emacs-el-search): New variable.
---
 gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 8debb48..3efced2 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3270,3 +3270,27 @@  editing nginx config files.")
     (description "This library provides an implementation of streams for Emacs.
 Streams are implemented as delayed evaluation of cons cells.")
     (license license:gpl3+)))
+
+(define-public emacs-el-search
+  (let ((commit "f26277bfbb3fc3fc74beea6592f294c439796bd4")
+        (revision "1"))
+    (package
+      (name "emacs-el-search")
+      ;; No ufficial release.
+      (version (string-append "0.0-" revision "." (string-take commit 7)))
+      (home-page "https://github.com/emacsmirror/el-search")
+      (source
+       (origin
+         (method git-fetch)
+         (file-name (string-append name "-" version ".tar.gz"))
+         (uri (git-reference
+               (commit commit)
+               (url (string-append home-page ".git"))))
+         (sha256
+          (base32 "12xf40h9sb7xxg2r97gsia94q02543mgiiiw46fzh1ac7b7993g6"))))
+      (build-system emacs-build-system)
+      (inputs `(("emacs-stream" ,emacs-stream)))
+      (synopsis "Expression based interactive search for emacs-lisp-mode")
+      (description "This package provides expression based interactive search
+procedures for emacs-lisp-mode.")
+      (license license:gpl3+))))
-- 
2.7.4