* gnu/packages/python.scm (python-gunicorn): New variable. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 92bd538..8f9a335 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -693,6 +693,36 @@ certificate returned by the server to which a connection has been established, and verifies that it matches the intended target hostname.") (license license:psfl))) +(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 + ;; Tests require older versions of pytest-cov and maybe others + `(#: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 license:expat))) + +(define-public python2-gunicorn + (package + (inherit (package-with-python2 + (strip-python2-variant python-gunicorn))) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))))) + (define-public python-h5py (package (name "python-h5py") -- 2.10.0