From 12faf8960349a8b8b8989af3a606dde59941dbab Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Fri, 14 Apr 2017 10:45:05 +0300 Subject: [PATCH 02/20] gnu: Add python-httpbin * 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