diff mbox series

[bug#35972,40/47] gnu: Add python-xlib.

Message ID 20190529003429.3007-1-h.nasajpour@pantherx.org
State Accepted
Headers show
Series [bug#35948,1/3] gnu: python-flask: Update to 1.0.3. | expand

Checks

Context Check Description
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied

Commit Message

Hamzeh Nasajpour May 29, 2019, 12:34 a.m. UTC
* gnu/packages/python-xyz.scm (python-xlib): New variable
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30a7c3c6ad..b9bfc1be14 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5786,6 +5786,37 @@  falling into the Python interpreter.")
 (define-public python2-q
   (package-with-python2 python-q))
 
+(define-public python-xlib
+  (package 
+    (name "python-xlib")
+    (version "0.25")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+			 (url "https://github.com/python-xlib/python-xlib")
+             (commit "84219d5043a63eab219fcb59f3590f7b3b6a7e91")))
+       (sha256
+        (base32 "0zdwfgzq7qz8fk0qgwg3gz2h04fad7bynp8wiq1q2y5v6ns09q9n"))
+		(file-name (git-file-name name version))
+       ))
+    (build-system python-build-system)
+    (arguments
+      `(
+        #:tests? #f))
+	(native-inputs
+     `(
+		 ("python-setuptools-scm" ,python-setuptools-scm)
+		 ("python-six" ,python-six)
+		 ))
+    (home-page "https://github.com/python-xlib/python-xlib")
+    (synopsis "Python X11 client library")
+    (description
+     "The Python X Library is intended to be a fully functional X client
+library for Python programs.  It is useful to implement low-level X clients.
+It is written entirely in Python.")
+    (license license:lgpl2.1)))
+
 (define-public python2-xlib
   (package
     (name "python2-xlib")