aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-02-03 19:55:26 -0500
committerMark H Weaver <mhw@netris.org>2015-02-04 01:36:09 -0500
commitb52af02b5d7cb60c4205268fbb78f2745a991516 (patch)
treeb0687159d38de42d75a347fa9a7d24b45e24143c /gnu
parentd95a56c6329f6e02cd8e80af482c326d5edc849f (diff)
downloadguix-b52af02b5d7cb60c4205268fbb78f2745a991516.tar
guix-b52af02b5d7cb60c4205268fbb78f2745a991516.tar.gz
gnu: Add python2-dbus.
* gnu/packages/python.scm (python2-dbus): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index fc10926b84..1153b4f180 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2902,3 +2902,14 @@ features useful for text console applications.")
implementation of D-Bus.")
(home-page "http://www.freedesktop.org/wiki/Software/DBusBindings/")
(license expat)))
+
+(define-public python2-dbus
+ (package (inherit python-dbus)
+ (name "python2-dbus")
+ (inputs `(("python" ,python-2)
+ ,@(alist-delete "python"
+ (package-inputs python-dbus)
+ equal?)))
+ ;; FIXME: on Python 2, the test_utf8 fails with:
+ ;; "ValueError: unichr() arg not in range(0x10000) (narrow Python build)"
+ (arguments `(#:tests? #f))))