diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5b13394824..694fde25e4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26128,14 +26128,26 @@ is a Python port from filetype Go package.") (base32 "156z58gzb3afzilhdbsm323sn0sky1n59kgaxmpg73a3phbqpqwd")))) (build-system python-build-system) - (arguments - `(#:tests? #f)) ;; Circular dependency on itself + (native-inputs + ;; Needed because plyer cannot find itself when doing tests + `(("python-plyer" ,python-plyer-for-tests) + ("which" ,which) + ("xbacklight" ,xbacklight))) (home-page "https://plyer.readthedocs.io/en/latest/") (synopsis "API for common features found on various platforms") (description "Plyer is a platform-independent api to use features commonly found on various platforms, notably mobile ones, in Python.") (license license:x11))) +;; Used for testing on python-plyer +(define python-plyer-for-tests + (hidden-package + (package + (inherit python-plyer) + (arguments + `(#:tests? #f)) + (native-inputs '())))) + (define-public python-baron (package (name "python-baron")