From: ng0 <ng0@we.make.ritual.n0.is>
To: guix-devel@gnu.org
Subject: [PATCH 08/11] gnu: Add python-httpbin.
Date: Tue, 13 Sep 2016 01:38:24 +0000 [thread overview]
Message-ID: <20160913013827.25877-8-ng0@we.make.ritual.n0.is> (raw)
In-Reply-To: <20160913013827.25877-1-ng0@we.make.ritual.n0.is>
* gnu/packages/python.scm (python-httpbin): New variable.
---
gnu/packages/python.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8f9a335..c4e2a58 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -525,6 +525,52 @@ Python interface around SSH networking concepts.")
(define-public python2-paramiko
(package-with-python2 python-paramiko))
+(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)
+ (inputs
+ `(("python-decorator" ,python-decorator)
+ ("python-flask" ,python-flask)
+ ("python-gevent" ,python-gevent)
+ ("python-greenlet" ,python-greenlet)
+ ("python-gunicorn" ,python-gunicorn)
+ ("python-itsdangerous" ,python-itsdangerous)
+ ("python-jinja2" ,python-jinja2)
+ ("python-markupsafe" ,python-markupsafe)
+ ("python-six" ,python-six)
+ ("python-werkzeug" ,python-werkzeug)))
+ (home-page "https://httpbin.org/")
+ (synopsis "HTTP Request and Response Service")
+ (description
+ "@code{httpbin} covers all kinds of HTTP scenarios for testing
+HTTP libraries. Additional endpoints are being considered.
+All endpoint responses are JSON-encoded, it can be run as a WSGI App.")
+ (license license:expat)))
+
+(define-public python2-httpbin
+ (package
+ (inherit (package-with-python2
+ (strip-python2-variant python-httpbin)))
+ (inputs `(("python2-setuptools" ,python2-setuptools)
+ ("python2-decorator" ,python2-decorator)
+ ("python2-flask" ,python2-flask)
+ ("python2-gevent" ,python2-gevent)
+ ("python2-greenlet" ,python2-greenlet)
+ ("python2-gunicorn" ,python2-gunicorn)
+ ("python2-itsdangerous" ,python2-itsdangerous)
+ ("python2-jinja2" ,python2-jinja2)
+ ("python2-markupsafe" ,python2-markupsafe)
+ ("python2-six" ,python2-six)
+ ("python2-werkzeug" ,python2-werkzeug)))))
(define-public python-httplib2
(package
--
2.10.0
next prev parent reply other threads:[~2016-09-13 1:38 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
2016-09-13 1:38 ` [PATCH 02/11] gnu: python-dateutil-2: Update to 2.5.3 ng0
2016-09-25 18:06 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 03/11] gnu: Add python-flask-babel ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 04/11] gnu: python-ndg-httpsclient: Update to 0.4.2 ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 05/11] gnu: python-pyasn1: Update to 0.1.9 ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 06/11] gnu: python-pygments: Update to 2.1.3 ng0
2016-09-25 18:03 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 07/11] gnu: Add python-gunicorn ng0
2016-09-13 12:35 ` Hartmut Goebel
2016-09-24 22:23 ` ng0
2016-09-25 18:18 ` Hartmut Goebel
2016-09-25 18:23 ` Hartmut Goebel
2016-09-13 1:38 ` ng0 [this message]
2016-09-25 18:06 ` [PATCH 08/11] gnu: Add python-httpbin Leo Famulari
2016-09-13 1:38 ` [PATCH 09/11] gnu: Add python-pytest-httpbin ng0
2016-09-25 18:06 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 10/11] gnu: Add python-pysocks ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7 ng0
2016-09-13 1:43 ` ng0
2016-09-25 18:08 ` Leo Famulari
2016-09-25 18:07 ` Leo Famulari
2016-09-25 18:03 ` [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160913013827.25877-8-ng0@we.make.ritual.n0.is \
--to=ng0@we.make.ritual.n0.is \
--cc=guix-devel@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.