guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/9] gnu: Add python-gunicorn.


From: Maxim Cournoyer
Subject: Re: [PATCH 2/9] gnu: Add python-gunicorn.
Date: Sun, 05 Feb 2017 15:19:03 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

address@hidden writes:

> From: ng0 <address@hidden>
>
> * gnu/packages/web.scm (python-gunicorn): New variable.
> ---
>  gnu/packages/web.scm | 28 +++++++++++++++++++++++++++-
>  1 file changed, 27 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index 8cc80a2c4..1803f58e9 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -13,7 +13,7 @@
>  ;;; Copyright © 2016 Rene Saavedra <address@hidden>
>  ;;; Copyright © 2016 Ben Woodcroft <address@hidden>
>  ;;; Copyright © 2016 Clément Lassieur <address@hidden>
> -;;; Copyright © 2016 ng0 <address@hidden>
> +;;; Copyright © 2016, 2017 ng0 <address@hidden>
>  ;;; Copyright © 2016 Arun Isaac <address@hidden>
>  ;;; Copyright © 2016 Tobias Geerinckx-Rice <address@hidden>
>  ;;; Copyright © 2016 Bake Timmons <address@hidden>
> @@ -4018,3 +4018,29 @@ service for that request.  Requests are made using 
> port numbers as identifiers
>  and xinetd usually launches another daemon to handle the request.  It can be
>  used to start services with both privileged and non-privileged port 
> numbers.")
>      (license (l:fsf-free "file://COPYRIGHT"))))
> +
> +(define-public python-gunicorn
> +  (package
> +    (name "python-gunicorn")
> +    (version "19.6.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "gunicorn" version))
> +       (sha256
> +        (base32
> +         "065n5z91607q4l8wncqkz297cdcb60cz8wnyxy88wk4as4b6jgw1"))))
> +    (build-system python-build-system)
> +    (arguments
> +     ;; XXX: Tests require older versions of pytest-cov and other packages.
> +     `(#:tests? #f))
> +    (inputs
> +     `(("python-sphinx" ,python-sphinx)))

This should probably be a native-input (used at build-time to build the
documentation, I guess?).

> +    (home-page "http://gunicorn.org";)
> +    (synopsis "WSGI HTTP Server")
> +    (description
> +     "Gunicorn ('Green Unicorn') is a WSGI HTTP Server.")
> +    (license l:expat)))
> +
> +(define-public python2-gunicorn
> +  (package-with-python2 python-gunicorn))

Attachment: signature.asc
Description: PGP signature


reply via email to

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