GNU bug report logs - #27050
[PATCH 1/1] gnu: Add emacs-restclient.

Previous Next

Package: guix-patches;

Reported by: James Richardson <james <at> jamestechnotes.com>

Date: Wed, 24 May 2017 05:32:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: James Richardson <james <at> jamestechnotes.com>
To: 27050 <at> debbugs.gnu.org
Cc: James Richardson <james <at> jamestechnotes.com>
Subject: bug#27050: [PATCH 1/1] gnu: Add emacs-restclient.
Date: Wed, 24 May 2017 01:26:44 -0400
* 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 <at> openmailbox.org>
 ;;; Copyright © 2017 George Clemmer <myglc2 <at> gmail.com>
 ;;; Copyright © 2017 Feng Shu <tumashu <at> 163.com>
+;;; Copyright © 2017 James Richardson <james <at> 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





This bug report was last modified 7 years and 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.