efraim pushed a commit to branch master
in repository guix.
commit 536fa1bd236f958fdbdb518cd406d28493755538
Author: Giacomo Leidi <[email protected]>
AuthorDate: Mon Dec 28 22:32:40 2020 +0100
gnu: Add python-matrix-client.
* gnu/packages/matrix.scm (python-matrix-client): New variable.
Signed-off-by: Efraim Flashner <[email protected]>
---
gnu/packages/matrix.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index a8d9d66..5c2b194 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2020 Alex ter Weele <[email protected]>
;;; Copyright © 2020 Tobias Geerinckx-Rice <[email protected]>
;;; Copyright © 2020, 2021 Michael Rohleder <[email protected]>
+;;; Copyright © 2020 Giacomo Leidi <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -31,6 +32,30 @@
#:use-module (guix download)
#:use-module (guix packages))
+(define-public python-matrix-client
+ (package
+ (name "python-matrix-client")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "matrix-client" version))
+ (sha256
+ (base32
+ "1mgjd0ymf9mvqjkvgx3xjhxap7rzdmpa21wfy0cxbw2xcswcrqyw"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-requests" ,python-requests)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-runner" ,python-pytest-runner)
+ ("python-responses" ,python-responses)))
+ (home-page
+ "https://github.com/matrix-org/matrix-python-sdk")
+ (synopsis "Client-Server SDK for Matrix")
+ (description "This package provides client-server SDK for Matrix.")
+ (license license:asl2.0)))
+
(define-public python-matrix-synapse-ldap3
(package
(name "python-matrix-synapse-ldap3")