From d95a56c6329f6e02cd8e80af482c326d5edc849f Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rault Date: Wed, 4 Feb 2015 01:02:20 +0100 Subject: gnu: Add python-dbus. * gnu/packages/python.scm (python-dbus): Add it. Makes use of dbus, dbus-glib and glib itself. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ec0c16620f..fc10926b84 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2014 Eric Bavier ;;; Copyright © 2014, 2015 Federico Beffa ;;; Copyright © 2015 Omar Radwan +;;; Copyright © 2015 Pierre-Antoine Rault ;;; ;;; This file is part of GNU Guix. ;;; @@ -55,6 +56,7 @@ #:use-module (gnu packages xorg) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) + #:use-module (gnu packages pkg-config) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) @@ -2874,3 +2876,29 @@ features useful for text console applications.") (define-public python2-urwid (package-with-python2 python-urwid)) + +(define-public python-dbus + (package + (name "python-dbus") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (string-append + "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-" + version ".tar.gz")) + (sha256 + (base32 "1py62qir966lvdkngg0v8k1khsqxwk5m4s8nflpk1agk5f5nqb71")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("python" ,python) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("glib" ,glib))) + (synopsis "Python bindings for D-bus") + (description "python-dbus provides bindings for libdbus, the reference +implementation of D-Bus.") + (home-page "http://www.freedesktop.org/wiki/Software/DBusBindings/") + (license expat))) -- cgit v1.2.3