guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: Add python-dbus.


From: Mark H. Weaver
Subject: 02/03: gnu: Add python-dbus.
Date: Wed, 04 Feb 2015 06:37:12 +0000

mhw pushed a commit to branch master
in repository guix.

commit d95a56c6329f6e02cd8e80af482c326d5edc849f
Author: Pierre-Antoine Rault <address@hidden>
Date:   Wed Feb 4 01:02:20 2015 +0100

    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 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ec0c166..fc10926 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2014 Eric Bavier <address@hidden>
 ;;; Copyright © 2014, 2015 Federico Beffa <address@hidden>
 ;;; Copyright © 2015 Omar Radwan <address@hidden>
+;;; Copyright © 2015 Pierre-Antoine Rault <address@hidden>
 ;;;
 ;;; 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]