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/3] gnu: Add python-httpbin
Date: Thu, 27 Apr 2017 18:55:12 +0300	[thread overview]
Message-ID: <20170427155513.11856-2-fredmanglis@gmail.com> (raw)
In-Reply-To: <20170427155513.11856-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 cb9912e..18a4d04 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4528,3 +4528,29 @@ exploit attempts.")
     (description "qutebrowser is a keyboard-focused browser with a minimal
 GUI.  It is based on PyQt5 and QtWebKit.")
     (license l:gpl3+)))
+
+(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-04-27 15:55 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-15 18:59 bug#26524: Add conda and dependencies Frederick Muriithi
2017-04-23 13:21 ` Ricardo Wurmus
2017-04-27 12:34   ` Frederick Muriithi
2017-04-27 13:09     ` Ricardo Wurmus
2017-04-27 15:55 ` bug#26524: [PATCH 1/3] gnu: Add python-radon Muriithi Frederick Muriuki
2017-04-27 15:55   ` Muriithi Frederick Muriuki [this message]
2017-04-27 15:55   ` bug#26524: [PATCH 3/3] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
2017-05-25  8:42 ` bug#26524: [PATCH] gnu: Add python-radon Frederick Muriithi
2017-05-27 17:47   ` Leo Famulari
2017-05-28 15:32 ` bug#26524: [PATCH 1/5] gnu: Add python-sure Muriithi Frederick Muriuki
2017-05-28 15:32   ` bug#26524: [PATCH 2/5] gnu: Add python2-couleur Muriithi Frederick Muriuki
2017-06-04 12:29     ` Marius Bakke
2017-05-28 15:32   ` bug#26524: [PATCH 3/5] gnu: Add python-misaka Muriithi Frederick Muriuki
2017-06-04 12:38     ` Marius Bakke
2017-05-28 15:32   ` bug#26524: [PATCH 4/5] gnu: Add python2-steadymark Muriithi Frederick Muriuki
2017-06-04 12:44     ` Marius Bakke
2017-05-28 15:32   ` bug#26524: [PATCH 5/5] gnu: Add python-nose-randomly Muriithi Frederick Muriuki
2017-06-04 12:54     ` Marius Bakke
2017-06-04 12:15   ` bug#26524: [PATCH 1/5] gnu: Add python-sure Marius Bakke
2017-06-11  1:07 ` bug#26524: [PATCH 1/3] gnu: python-sphinx-rtd-theme: Update to 0.2.4 Muriithi Frederick Muriuki
2017-06-11  1:07   ` bug#26524: [PATCH 2/3] gnu: Add python2-rednose Muriithi Frederick Muriuki
2017-06-11  1:07   ` bug#26524: [PATCH 3/3] gnu: Add python2-httpretty Muriithi Frederick Muriuki
2017-06-12 19:33     ` [bug#26524] " Marius Bakke
2017-06-13 12:45       ` Frederick Muriithi
2017-06-14 18:05         ` Marius Bakke

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=20170427155513.11856-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).