unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
To: 26524@debbugs.gnu.org
Subject: bug#26524: [PATCH 2/4] gnu: Add python-httpbin
Date: Sun,  7 May 2017 05:29:41 +0300	[thread overview]
Message-ID: <20170507022943.20427-2-fredmanglis@gmail.com> (raw)
In-Reply-To: <20170507022943.20427-1-fredmanglis@gmail.com>

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

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 9c2074d..b975b18 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4491,3 +4491,29 @@ functions of Tidy.")
 Features include the ability to stop SQL injections, XSS and CSRF attacks and
 exploit attempts.")
     (license l:gpl2)))
+
+(define-public python-httpbin
+  (package
+    (name "python-httpbin")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "httpbin" version))
+       (sha256
+        (base32
+         "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-decorator" ,python-decorator)
+       ("python-flask" ,python-flask)
+       ("python-itsdangerous" ,python-itsdangerous)
+       ("python-markupsafe" ,python-markupsafe)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/Runscope/httpbin")
+    (synopsis "HTTP request and response service")
+    (description "Testing an HTTP Library can become difficult sometimes.
+@code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
+response.  This exists to cover all kinds of HTTP scenarios.  All endpoint responses are
+JSON-encoded.")
+    (license l:isc)))
-- 
2.10.2

       reply	other threads:[~2017-05-07  2:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170507022943.20427-1-fredmanglis@gmail.com>
2017-05-07  2:29 ` Muriithi Frederick Muriuki [this message]
2017-05-07 19:23   ` bug#26524: [PATCH 2/4] gnu: Add python-httpbin Leo Famulari
2017-05-07  2:29 ` bug#26524: [PATCH 3/4] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
2017-05-07 19:24   ` Leo Famulari
2017-05-07  2:29 ` bug#26524: [PATCH 4/4] gnu: Add python-sure Muriithi Frederick Muriuki
2017-05-07 19:15   ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170507022943.20427-2-fredmanglis@gmail.com \
    --to=fredmanglis@gmail.com \
    --cc=26524@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).