guix-commits
[Top][All Lists]
Advanced

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

13/295: gnu: Add python2-selectors2.


From: guix-commits
Subject: 13/295: gnu: Add python2-selectors2.
Date: Mon, 27 Jul 2020 06:25:02 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit db10d94dcd920f55c133352e677ebd68eb6fc436
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Jun 27 15:50:26 2020 +0200

    gnu: Add python2-selectors2.
    
    * gnu/packages/python-xyz.scm (python2-selectors2): New public variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 300277f..2912d9a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11343,6 +11343,29 @@ functionality in a modular way, allowing you to extend 
your panel with your
 own code, responding to click events and updating clock every second.")
     (license license:bsd-3)))
 
+(define-public python2-selectors2
+  (package
+    (name "python2-selectors2")
+    (version "2.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "selectors2" version))
+              (sha256
+               (base32
+                "110qr00b9axz1f1jm12b495jkvrz80smknxvssqlhwk0dx67rdw1"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (native-inputs
+     `(("python2-mock" ,python2-mock)
+       ("python2-psutil" ,python2-psutil)))
+    (home-page "https://www.github.com/SethMichaelLarson/selectors2";)
+    (synopsis "Backport of the selectors module from Python 3.5+")
+    (description
+     "This package provides a drop-in replacement for the @code{selectors}
+module in Python 3.5 and later.")
+    (license license:expat)))
+
 (define-public python-tblib
   (package
     (name "python-tblib")



reply via email to

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