[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: Add emacs-magit-todos.
From: |
Pierre Neidhardt |
Subject: |
02/02: gnu: Add emacs-magit-todos. |
Date: |
Wed, 1 Aug 2018 07:06:53 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit 9805ee0a2739bded1f2137f3aeca537533b341e9
Author: Pierre Neidhardt <address@hidden>
Date: Wed Aug 1 12:59:37 2018 +0200
gnu: Add emacs-magit-todos.
* gnu/packages/emacs.scm (emacs-magit-todos): New variable.
---
gnu/packages/emacs.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 0c94bf0..2ac7e01 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -11609,3 +11609,36 @@ provided the list is finite
buffers – other modes on the TODO list).
@end itemize\n")
(license license:gpl3))))
+
+(define-public emacs-magit-todos
+ ;; TODO: <1.1 is broken with Guix. Switch to 1.1 when out.
+ (let ((commit "966642762788d335dc2d3667d230a36ede65972e"))
+ (package
+ (name "emacs-magit-todos")
+ (version (git-version "1.0.4" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alphapapa/magit-todos")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0nxarip8sf0446xfgrcfsjm4vbsg50klxjbr4i6h09a3lri03gyp"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-async" ,emacs-async)
+ ("emacs-dash" ,emacs-dash)
+ ("emacs-f" ,emacs-f)
+ ("emacs-hl-todo" ,emacs-hl-todo)
+ ("magit" ,magit)
+ ("emacs-pcre2el" ,emacs-pcre2el)
+ ("emacs-s" ,emacs-s)))
+ (home-page "https://github.com/alphapapa/magit-todos")
+ (synopsis "Show source files' TODOs (and FIXMEs, etc) in Magit status
buffer")
+ (description "This package displays keyword entries from source code
+comments and Org files in the Magit status buffer. Activating an item jumps
+to it in its file. By default, it uses keywords from @code{hl-todo}, minus a
+few (like NOTE).")
+ (license license:gpl3))))