guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26524: [PATCH 2/3] gnu: Add python-httpbin


From: Muriithi Frederick Muriuki
Subject: bug#26524: [PATCH 2/3] gnu: Add python-httpbin
Date: Thu, 27 Apr 2017 18:55:12 +0300

* 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.
address@hidden 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 via email to

[Prev in Thread] Current Thread [Next in Thread]