guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#31036] [PATCH] gnu: Add Emacs dumb-jump


From: Sohom Bhattacharjee
Subject: [bug#31036] [PATCH] gnu: Add Emacs dumb-jump
Date: Tue, 3 Apr 2018 08:04:03 +0530
User-agent: Mutt/1.9.3 (2018-01-21)

I added the comment because it makes it clear as to why the "v" is needed in 
the version. 
* gnu/packages/emacs.scm (emacs-dumb-jump): New variable.
---
 gnu/packages/emacs.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 7a203ef6e..b4744cfc9 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7436,3 +7436,37 @@ directories of plain text notes, inspired by Notational 
Velocity.")
 matches\" in the mode line in various search modes.  This is an Emacs port of
 Anzu.zim.")
     (license license:gpl3+)))
+
+;; the version needs to have a v in it because of how the github releases are 
maintained.
+(define-public emacs-dumb-jump
+(package
+  (name "emacs-dumb-jump")
+  (version "v0.5.2")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (string-append
+            "https://github.com/jacktasia/dumb-jump/archive/";
+             version ".tar.gz"))
+      (file-name (string-append name "-" version ".tar.gz"))
+      (sha256
+        (base32
+          "07n0xjgpxjpf3vp9gxchkjpydyj0zm166930as0kwiwkhjlsirsf"))))
+  (build-system emacs-build-system)
+  (propagated-inputs
+    `(("emacs-f" ,emacs-f)
+      ("emacs-s" ,emacs-s)
+      ("emacs-dash" ,emacs-dash)
+      ("emacs-popup" ,emacs-popup)))
+  (home-page "https://github.com/jacktasia/dumb-jump";)
+  (synopsis
+    "Jump to definition for multiple languages without configuration")
+  (description
+    "Dumb Jump is an Emacs \"jump to definition\" package with support for
+multiple programming languages that favors \"just working\" over speed or
+accuracy.  This means minimal -- and ideally zero -- configuration with
+absolutely no stored indexes (TAGS) or persistent background processes.  Dumb
+Jump performs best with The Silver Searcher `ag` or ripgrep `rg` installed.
+Dumb Jump requires at least GNU Emacs 24.3.
+")
+  (license license:gpl3+)))
-- 
2.16.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]