guix-commits
[Top][All Lists]
Advanced

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

06/18: gnu: Add python-waitress.


From: Christopher Allan Webber
Subject: 06/18: gnu: Add python-waitress.
Date: Sat, 20 Feb 2016 02:53:13 +0000

cwebber pushed a commit to branch wip-mediagoblin
in repository guix.

commit ad8abdaeebd98ef61d14d56ee7fbaea0ed16d369
Author: Christopher Allan Webber <address@hidden>
Date:   Sat Feb 13 18:57:11 2016 -0800

    gnu: Add python-waitress.
    
    * gnu/packages/python.scm (python-waitress, python2-waitress): New 
variables.
---
 gnu/packages/python.scm |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8702f80..9b3c11f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7684,3 +7684,28 @@ templates into Python modules.")
       (native-inputs
        (cons `("python2-setuptools" ,python2-setuptools)
              (package-native-inputs base))))))
+
+(define-public python-waitress
+  (package
+    (name "python-waitress")
+    (version "0.8.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "waitress" version))
+       (sha256
+        (base32
+         "017n9ra6vvmq9d5sfhdzyzr1mg15x2hj2dhm4pdlw98c1ypw2h3w"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/Pylons/waitress";)
+    (synopsis "Waitress WSGI server")
+    (description "Waitress is meant to be a production-quality pure-Python WSGI
+server with very acceptable performance.")
+    (license zpl2.1)
+    (properties `((python2-variant . ,(delay python2-waitress))))))
+
+(define-public python2-waitress
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-waitress)))
+    (native-inputs `(("python2-setuptools" ,python2-setuptools)))))



reply via email to

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