Subject: [bug#30798] [PATCH 2/2] gnu: Add emacs-deft

From: Konrad Hinsen <[email-masked]>
Date: Tue, 13 Mar 2018 16:47:41 +0100

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 9c9c399fd..07ac1f0fe 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7389,3 +7389,26 @@ to inherit a login shell's environment variables.  It also allows other
 environment variables to be retrieved from the shell, so that Emacs will
 see the same values you get in a terminal.")
     (license license:gpl3+)))
+
+(define-public emacs-deft
+  (package
+    (name "emacs-deft")
+    (version "0.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://stable.melpa.org/packages/deft-"
+             version
+             ".el"))
+       (sha256
+        (base32
+         "1vb9cjxskc7c0yyf9pvxy1fzypg1vrcgwnjz0m3hslinsgdyig58"))))
+    (build-system emacs-build-system)
+    (home-page "https://jblevins.org/projects/deft/")
+    (synopsis
+     "Quickly browse, filter, and edit plain text notes")
+    (description
+     "Deft is an Emacs mode for quickly browsing, filtering, and editing
+directories of plain text notes, inspired by Notational Velocity.")
+    (license license:gpl3+)))
-- 
2.16.2