From 25644879c1c94ff65636dcf498db36ed8409439c Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Tue, 20 Apr 2021 05:22:42 +0000 Subject: 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 f4b3a60d25..542abf6dde 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15222,6 +15222,35 @@ (define-public python-entrypoint2 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") -- cgit v1.2.3