mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 13:17:10 -05:00
gnu: python-dbus: Register 'python2-dbus' as the Python 2 variant.
This allows things like 'python2-notify2' to actually use the Python 2 variant of 'python-dbus'. * gnu/packages/python-xyz.scm (python-dbus)[properties]: New field. (python2-dbus)[inputs]: Remove unnecessary 'alist-delete' argument.
This commit is contained in:
parent
0ca73525c8
commit
2ec5a1a576
1 changed files with 2 additions and 2 deletions
|
@ -8877,6 +8877,7 @@ (define-public python-dbus
|
|||
(description "python-dbus provides bindings for libdbus, the reference
|
||||
implementation of D-Bus.")
|
||||
(home-page "https://www.freedesktop.org/wiki/Software/DBusBindings/")
|
||||
(properties `((python2-variant . ,(delay python2-dbus))))
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python2-dbus
|
||||
|
@ -8884,8 +8885,7 @@ (define-public python2-dbus
|
|||
(name "python2-dbus")
|
||||
(inputs `(("python" ,python-2)
|
||||
,@(alist-delete "python"
|
||||
(package-inputs python-dbus)
|
||||
equal?)))
|
||||
(package-inputs python-dbus))))
|
||||
(arguments
|
||||
`(#:configure-flags '("PYTHON_VERSION=2")))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue