gnu: Add python-xvfbwrapper.

* gnu/packages/python-check.scm (python-xvfbwrapper): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Tomasz Jeneralczyk 2022-08-14 14:46:19 +02:00 committed by Ludovic Courtès
parent 05246c691b
commit e1ea628776
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -15,6 +15,7 @@
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
;;;
;;; This file is part of GNU Guix.
;;;
@ -2373,3 +2374,24 @@ (define-public python-pycotap
attachments).
@end itemize")
(license license:expat)))
(define-public python-xvfbwrapper
(package
(name "python-xvfbwrapper")
(version "0.2.9")
(source (origin
(method url-fetch)
(uri (pypi-uri "xvfbwrapper" version))
(sha256
(base32
"097wxhvp01ikqpg1z3v8rqhss6f1vwr399zpz9a05d2135bsxx5w"))))
(build-system python-build-system)
(propagated-inputs (list xorg-server-for-tests))
(home-page "https://github.com/cgoldberg/xvfbwrapper")
(synopsis "Python module for controlling virtual displays with Xvfb")
(description
"Xvfb (X virtual framebuffer) is a display server implementing
the X11 display server protocol. It runs in memory and does not require a
physical display. Only a network layer is necessary. Xvfb is useful for
running acceptance tests on headless servers.")
(license license:expat)))