mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: dbus: Add dbus to inputs.
* gnu/packages/stenography.scm (plover): Add dbus to inputs and LD_LIBRARY_PATH. Plover tries to load dbus during startup (visible with --log-level debug). This will allow it to find it. [inputs]: Add dbus. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
f9cd9ed869
commit
5dcf82452f
1 changed files with 6 additions and 2 deletions
|
@ -28,12 +28,13 @@ (define-module (gnu packages stenography)
|
|||
#:use-module (guix packages)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages bash)
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages check)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages libusb)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages python-check)
|
||||
#:use-module (gnu packages python-xyz)
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages wxwidgets))
|
||||
|
||||
(define-public python-plover-stroke
|
||||
|
@ -85,7 +86,9 @@ (define-public plover
|
|||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(wrap-program (string-append #$output "/bin/plover")
|
||||
`("QT_PLUGIN_PATH" prefix
|
||||
,(list (search-input-directory inputs "/lib/qt5/plugins/")))))))))
|
||||
(,(search-input-directory inputs "/lib/qt5/plugins/")))
|
||||
`("LD_LIBRARY_PATH" prefix
|
||||
(,(string-append #$(this-package-input "dbus") "/lib")))))))))
|
||||
(native-inputs
|
||||
(list python-babel
|
||||
python-mock
|
||||
|
@ -94,6 +97,7 @@ (define-public plover
|
|||
python-pytest-xvfb))
|
||||
(inputs
|
||||
(list bash-minimal
|
||||
dbus
|
||||
python-appdirs
|
||||
python-dbus
|
||||
python-hidapi
|
||||
|
|
Loading…
Reference in a new issue