unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27050: [PATCH 1/1] gnu: Add emacs-restclient.
@ 2017-05-24  5:26 James Richardson
  2017-05-28 19:39 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: James Richardson @ 2017-05-24  5:26 UTC (permalink / raw)
  To: 27050

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index a59a4ca69..176df7105 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2017 Kei Kebreau <kei@openmailbox.org>
 ;;; Copyright © 2017 George Clemmer <myglc2@gmail.com>
 ;;; Copyright © 2017 Feng Shu <tumashu@163.com>
+;;; Copyright © 2017 James Richardson <james@jamestechnotes.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4836,3 +4837,30 @@ Emacs.")
 using ERT.  It assumes a certain test structure setup and can therefore make
 running tests easier.")
       (license license:gpl3+))))
+
+(define-public emacs-restclient
+  (let ((commit "07a3888bb36d0e29608142ebe743b4362b800f40")
+        (revision "1"))                 ;Guix package revision,
+                                        ;upstream doesn't have official releases
+    (package
+      (name "emacs-restclient")
+      (version (string-append revision "."
+                              (string-take commit 7)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/pashky/restclient.el.git")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "00lmjhb5im1kgrp54yipf1h9pshxzgjlg71yf2rq5n973gvb0w0q"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-helm" ,emacs-helm)))
+      (home-page "https://github.com/pashky/restclient.el")
+      (synopsis "Explore and test HTTP REST webservices")
+      (description
+       "A tool that allows testing and exploration of HTTP REST webservices from
+within Emacs.  Restclient runs queries from a plan-text query sheet, displays
+results pretty-printed in XML or JSON with @code{restclient-mode}")
+      (license license:public-domain))))
-- 
2.13.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-28 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-24  5:26 bug#27050: [PATCH 1/1] gnu: Add emacs-restclient James Richardson
2017-05-28 19:39 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).