Subject: [PATCH] gnu: Add emacs-zotxt.

From: Konrad Hinsen <[email-masked]>
Date: Mon, 28 May 2018 13:07:02 +0200

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index fc7f52a32..0fb466b64 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -10548,3 +10548,29 @@ well as take screenshots and lock your screen.  The package depends on the
 availability of shell commands to do the hard work for us.  These commands can
 be changed by customizing the appropriate variables.")
     (license license:gpl3+)))
+
+(define-public emacs-zotxt
+  (package
+    (name "emacs-zotxt")
+    (version "20180518")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/egh/zotxt-emacs/archive/"
+             "23a4a9f74a658222027d53a9a83cd4bcc583ca8b"
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1qlibaciqgsva6fc7vv9krssjq00bi880396jk7llbi3c52q9n1y"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-deferred" ,emacs-deferred)
+       ("emacs-request" ,emacs-request)))
+    (home-page "https://github.com/egh/zotxt-emacs")
+    (synopsis
+     "Tools to integrate emacs with Zotero via the zotxt plugin")
+    (description "This package provides two integration features between Emacs and
+Zotero: Insertion of links to Zotero items into an org-mode file, and citations
+of Zotero items in pandoc markdown files.")
+    (license license:gpl3+)))
-- 
2.17.0