guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: Add python-twisted and python2-twisted.


From: ???
Subject: 01/01: gnu: Add python-twisted and python2-twisted.
Date: Sat, 4 Jun 2016 08:05:51 +0000 (UTC)

iyzsong pushed a commit to branch master
in repository guix.

commit da3aeeb62bba0b545baf7beac641615080f9e68d
Author: 宋文武 <address@hidden>
Date:   Sat Jun 4 16:05:07 2016 +0800

    gnu: Add python-twisted and python2-twisted.
    
    * gnu/packages/python.scm (python-twisted, python2-twisted): New variables.
---
 gnu/packages/python.scm |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 456bf3b..dfbf2cc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8982,3 +8982,30 @@ to provide a high-level synchronous API on top of the 
libev event loop.")
 
 (define-public python2-gevent
   (package-with-python2 python-gevent))
+
+(define-public python-twisted
+  (package
+    (name "python-twisted")
+    (version "16.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (list (pypi-uri "Twisted" version ".tar.bz2") ; 404
+                         (string-append
+                          "https://pypi.io/packages/source/T/Twisted/";
+                          "Twisted-" version ".tar.bz2")))
+              (sha256
+               (base32
+                "0ydxrp9myw1mvsz3qfzx5579y5llmqa82pxvqchgp5syczffi450"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-setuptools" ,python-setuptools)
+       ("python-zope-interface" ,python-zope-interface)))
+    (home-page "https://twistedmatrix.com/";)
+    (synopsis "Asynchronous networking framework written in Python")
+    (description
+     "Twisted is an extensible framework for Python programming, with special
+focus on event-based network programming and multiprotocol integration.")
+    (license license:expat)))
+
+(define-public python2-twisted
+  (package-with-python2 python-twisted))



reply via email to

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