guix-patches
[Top][All Lists]
Advanced

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

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


From: h.nasajpour
Subject: [bug#35972] [PATCH 40/47] gnu: Add python-xlib.
Date: Wed, 29 May 2019 05:04:29 +0430

* gnu/packages/python-xyz.scm (python-xlib): New variable
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

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")
-- 
2.17.1






reply via email to

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