[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/9] gnu: Add python-httpbin.
From: |
Maxim Cournoyer |
Subject: |
Re: [PATCH 3/9] gnu: Add python-httpbin. |
Date: |
Sun, 05 Feb 2017 15:16:15 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hi ng0,
address@hidden writes:
> From: ng0 <address@hidden>
>
> * gnu/packages/web.scm (python-httpbin): New variable.
> ---
> gnu/packages/web.scm | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index 1803f58e9..244672c9d 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -4044,3 +4044,37 @@ used to start services with both privileged and
> non-privileged port numbers.")
>
> (define-public python2-gunicorn
> (package-with-python2 python-gunicorn))
> +
> +(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)))
Shouldn't those be propagated-inputs, as recommended in the guix texinfo
manual for the new python-build-system?
> + (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 l:expat)))
> +
> +(define-public python2-httpbin
> + (package-with-python2 python-httpbin))
Regards,
Maxim
signature.asc
Description: PGP signature
- Some searx requirements, contact . ng0, 2017/02/04
- [PATCH 1/9] gnu: python-dateutils-2: Update to 2.5.3., contact . ng0, 2017/02/04
- [PATCH 9/9] gnu: python-requests: Add python-pysocks to propagated-inputs., contact . ng0, 2017/02/04
- [PATCH 4/9] gnu: Add python-pytest-httpbin., contact . ng0, 2017/02/04
- [PATCH 7/9] gnu: python-pytest: Update to 3.0.5., contact . ng0, 2017/02/04
- [PATCH 3/9] gnu: Add python-httpbin., contact . ng0, 2017/02/04
- Re: [PATCH 3/9] gnu: Add python-httpbin.,
Maxim Cournoyer <=
- [PATCH 2/9] gnu: Add python-gunicorn., contact . ng0, 2017/02/04
- [PATCH 8/9] gnu: python-requests: Update to 2.12.4., contact . ng0, 2017/02/04
- [PATCH 6/9] gnu: Add python-pytest-httpbin-0.0.7., contact . ng0, 2017/02/04
- [PATCH 5/9] gnu: Add python-pysocks., contact . ng0, 2017/02/04
- Re: Some searx requirements, ng0, 2017/02/04