~ruther/guix-local

5f8a699354eda1a5bf23f16816e4274f1535f177 — Jake Coble 8 months ago 99f9161
gnu: Add python-matrix-common.

* gnu/packages/matrix.scm (python-matrix-common): New variable.

Change-Id: Ibf92761fc0983b342ebabde3c6db160032de7ed2
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 28 insertions(+), 0 deletions(-)

M gnu/packages/matrix.scm
M gnu/packages/matrix.scm => gnu/packages/matrix.scm +28 -0
@@ 145,6 145,34 @@ on @url{https://github.com/tulir/whatsmeow, whatsmeow}.")
    (description "This package provides client-server SDK for Matrix.")
    (license license:asl2.0)))

(define-public python-matrix-common
  (package
    (name "python-matrix-common")
    (version "1.3.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/matrix-org/matrix-python-common")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1ryih7xladx9888gwi71q78d9f92zjr066jj3ksgcjkfp3djdxjk"))))
    (build-system pyproject-build-system)
    (arguments
     (list #:test-backend #~'custom
           #:test-flags #~(list "-m" "twisted.trial" "tests")))
    (native-inputs
     (list python-setuptools
           python-twisted))
    (propagated-inputs
     (list python-attrs))
    (home-page "https://github.com/matrix-org/matrix-python-common")
    (synopsis "Common utilities for Synapse, Sydent and Sygnal")
    (description
     "This package contains code used by Synapse, Sydent, and Sygnal.")
    (license license:asl2.0)))

(define-public python-matrix-synapse-ldap3
  (package
    (name "python-matrix-synapse-ldap3")