guix-devel
[Top][All Lists]
Advanced

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

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


From: contact . ng0
Subject: [PATCH 2/9] gnu: Add python-gunicorn.
Date: Sat, 4 Feb 2017 16:34:59 +0000

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)))
+    (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




reply via email to

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