From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDOu0-0003HQ-3D for guix-patches@gnu.org; Wed, 24 May 2017 01:32:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDOtu-0004Hx-1P for guix-patches@gnu.org; Wed, 24 May 2017 01:32:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60955) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDOtt-0004Hs-Ul for guix-patches@gnu.org; Wed, 24 May 2017 01:32:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dDOtt-0004Wa-PY for guix-patches@gnu.org; Wed, 24 May 2017 01:32:01 -0400 Subject: bug#27050: [PATCH 1/1] gnu: Add emacs-restclient. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDOp7-00029w-AY for guix-patches@gnu.org; Wed, 24 May 2017 01:27:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDOp3-0001lC-7r for guix-patches@gnu.org; Wed, 24 May 2017 01:27:05 -0400 Received: from gandalf.jamestechnotes.com ([45.79.219.18]:58852) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDOp3-0001kv-3T for guix-patches@gnu.org; Wed, 24 May 2017 01:27:01 -0400 From: James Richardson Date: Wed, 24 May 2017 01:26:44 -0400 Message-Id: <20170524052644.6293-1-james@jamestechnotes.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27050@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 ;;; Copyright © 2017 George Clemmer ;;; Copyright © 2017 Feng Shu +;;; Copyright © 2017 James Richardson ;;; ;;; 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