contact.ng0@cryptolab.net writes: > From: ng0 > > * 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 > ;;; Copyright © 2016 Ben Woodcroft > ;;; Copyright © 2016 Clément Lassieur > -;;; Copyright © 2016 ng0 > +;;; Copyright © 2016, 2017 ng0 > ;;; Copyright © 2016 Arun Isaac > ;;; Copyright © 2016 Tobias Geerinckx-Rice > ;;; Copyright © 2016 Bake Timmons > @@ -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))