Subject: bug#27050: closed (Re: bug#27050: [PATCH 1/1] gnu: Add emacs-restclient.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 28 May 2017 19:40:02 +0000

Your bug report

#27050: [PATCH 1/1] gnu: Add emacs-restclient.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
27050: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27050
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#27050: [PATCH 1/1] gnu: Add emacs-restclient.
From: [email-masked] (Ludovic Courtès)
To: James Richardson <[email-masked]>
Cc: [email-masked]
Date: Sun, 28 May 2017 21:39:09 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

James Richardson <[email-masked]> skribis:

> * gnu/packages/emacs.scm (emacs-restclient): New variable.

[...]

> +      (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}")

I turned this into a sentenced and committed.  Thanks!

Ludo’.

Subject: [PATCH 1/1] gnu: Add emacs-restclient.
From: James Richardson <[email-masked]>
To: [email-masked]
Cc: James Richardson <[email-masked]>
Date: Wed, 24 May 2017 01:26:44 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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 <[email-masked]>
 ;;; Copyright © 2017 George Clemmer <[email-masked]>
 ;;; Copyright © 2017 Feng Shu <[email-masked]>
+;;; Copyright © 2017 James Richardson <[email-masked]>
 ;;;
 ;;; 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