guix-devel
[Top][All Lists]
Advanced

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

[PATCH 02/20] gnu: Add python-httpbin


From: Muriithi Frederick Muriuki
Subject: [PATCH 02/20] gnu: Add python-httpbin
Date: Fri, 14 Apr 2017 13:13:02 +0300

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 23b6d86..618b965 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14003,3 +14003,30 @@ recognize TestCases.")
 
 (define-public python2-radon
   (package-with-python2 python-radon))
+
+(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 "HTTP Request and Response Service which covers all kinds of 
HTTP
+scenarios")
+    (license license:expat)))
+
+(define-public python2-httpbin
+  (package-with-python2 python-httpbin))
-- 
2.10.2




reply via email to

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