From: ng0 <[email protected]> * 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 <[email protected]> ;;; Copyright © 2016 Ben Woodcroft <[email protected]> ;;; Copyright © 2016 Clément Lassieur <[email protected]> -;;; Copyright © 2016 ng0 <[email protected]> +;;; Copyright © 2016, 2017 ng0 <[email protected]> ;;; Copyright © 2016 Arun Isaac <[email protected]> ;;; Copyright © 2016 Tobias Geerinckx-Rice <[email protected]> ;;; Copyright © 2016 Bake Timmons <[email protected]> @@ -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))) + (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)) -- 2.11.0
