[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52849] [PATCH 1/2] gnu: Add python-pydbus.
From: |
Sébastien Lerique |
Subject: |
[bug#52849] [PATCH 1/2] gnu: Add python-pydbus. |
Date: |
Tue, 28 Dec 2021 23:24:16 +0900 |
* gnu/packages/python-xyz.scm (python-pydbus): New variable.
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7ca0b1668d..a9ea4e69b4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8950,6 +8950,38 @@ (define-public python-user-agents
(define-public python2-user-agents
(package-with-python2 python-user-agents))
+(define-public python-pydbus
+ (package
+ (name "python-pydbus")
+ (version "0.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/LEW21/pydbus")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0v0cyb4ffjrrmd6pxk1vr94k81ggqrfv8aisdm26jxdvdxf8llhp"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "tests/run.sh")))))))
+ (native-inputs
+ (list dbus glib gobject-introspection))
+ (propagated-inputs
+ (list python-pygobject))
+ (home-page "https://github.com/LEW21/pydbus")
+ (synopsis "Pythonic D-Bus library")
+ (description "A modern, pythonic D-Bus library built on top of PyGI and
+GDBus.")
+ (license license:lgpl2.1+)))
+
(define-public python-dbus
(package
(name "python-dbus")
--
2.34.0