From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: contact.ng0@cryptolab.net
Cc: guix-devel@gnu.org, ng0 <ng0@libertad.pw>
Subject: Re: [PATCH 3/9] gnu: Add python-httpbin.
Date: Sun, 05 Feb 2017 15:16:15 -0800 [thread overview]
Message-ID: <87bmug8c00.fsf@gmail.com> (raw)
In-Reply-To: <20170204163506.16758-4-contact.ng0@cryptolab.net> (contact's message of "Sat, 4 Feb 2017 16:35:00 +0000")
[-- Attachment #1: Type: text/plain, Size: 2048 bytes --]
Hi ng0,
contact.ng0@cryptolab.net writes:
> From: ng0 <ng0@libertad.pw>
>
> * 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2017-02-05 23:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-04 16:34 Some searx requirements contact.ng0
2017-02-04 16:34 ` [PATCH 1/9] gnu: python-dateutils-2: Update to 2.5.3 contact.ng0
2017-02-08 7:35 ` Danny Milosavljevic
2017-02-04 16:34 ` [PATCH 2/9] gnu: Add python-gunicorn contact.ng0
2017-02-05 23:19 ` Maxim Cournoyer
2017-02-04 16:35 ` [PATCH 3/9] gnu: Add python-httpbin contact.ng0
2017-02-05 23:16 ` Maxim Cournoyer [this message]
2017-02-04 16:35 ` [PATCH 4/9] gnu: Add python-pytest-httpbin contact.ng0
2017-02-04 16:35 ` [PATCH 5/9] gnu: Add python-pysocks contact.ng0
2017-02-04 16:35 ` [PATCH 6/9] gnu: Add python-pytest-httpbin-0.0.7 contact.ng0
2017-02-05 23:22 ` Maxim Cournoyer
2017-02-08 12:49 ` ng0
2017-02-04 16:35 ` [PATCH 7/9] gnu: python-pytest: Update to 3.0.5 contact.ng0
2017-02-05 23:11 ` Maxim Cournoyer
2017-02-04 16:35 ` [PATCH 8/9] gnu: python-requests: Update to 2.12.4 contact.ng0
2017-02-04 16:35 ` [PATCH 9/9] gnu: python-requests: Add python-pysocks to propagated-inputs contact.ng0
2017-02-04 16:40 ` Some searx requirements ng0
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=87bmug8c00.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=contact.ng0@cryptolab.net \
--cc=guix-devel@gnu.org \
--cc=ng0@libertad.pw \
/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.