From 5f8a699354eda1a5bf23f16816e4274f1535f177 Mon Sep 17 00:00:00 2001 From: Jake Coble Date: Sat, 25 Oct 2025 19:51:07 -0400 Subject: [PATCH] gnu: Add python-matrix-common. * gnu/packages/matrix.scm (python-matrix-common): New variable. Change-Id: Ibf92761fc0983b342ebabde3c6db160032de7ed2 Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/matrix.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index 5bd4e515f68f368e3891cbfeebbf53af0521b463..b0b4870fd96f29e6c2e5e8dc1208be4b2df5f605 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -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")