guix-commits
[Top][All Lists]
Advanced

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

11/13: gnu: Add python-pyvirtualdisplay.


From: guix-commits
Subject: 11/13: gnu: Add python-pyvirtualdisplay.
Date: Sat, 8 May 2021 05:28:55 -0400 (EDT)

lbraun pushed a commit to branch master
in repository guix.

commit 25644879c1c94ff65636dcf498db36ed8409439c
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Tue Apr 20 05:22:42 2021 +0000

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f4b3a60..542abf6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15222,6 +15222,35 @@ modules based on @code{argparse}.  It translates 
function signature and
 documentation to argparse configuration.")
     (license license:bsd-3)))
 
+(define-public python-pyvirtualdisplay
+  (package
+    (name "python-pyvirtualdisplay")
+    (version "2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PyVirtualDisplay" version))
+       (sha256
+        (base32 "1z2fzgiw3xv3m1d9ppn53g07zhnpj05addiz56sm6ircxibnjk4x"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Tests fail with:
+     ;; FileNotFoundError: [Errno 2] No such file or directory: 'Xvnc'.
+     `(#:tests? #f))
+    (native-inputs
+     `(("python-entrypoint2" ,python-entrypoint2)
+       ("python-psutil" ,python-psutil)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-runner" ,python-pytest-runner)))
+    (propagated-inputs
+     `(("python-easyprocess" ,python-easyprocess)
+       ("python-pillow" ,python-pillow)))
+    (home-page "https://github.com/ponty/pyvirtualdisplay";)
+    (synopsis "Python wrapper for Xvfb, Xephyr and Xvnc")
+    (description
+     "@code{pyvirtualdisplay} is a Python wrapper for Xvfb, Xephyr and Xvnc.")
+    (license license:bsd-3)))
+
 (define-public python-stem
   (package
     (name "python-stem")



reply via email to

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