guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5bdf2111b5f8956c62249b27116540aa284355a7
Author: Zheng Junjie <[email protected]>
AuthorDate: Mon Feb 16 16:51:48 2026 +0800

    gnu: Add python-synapse-s3-storage-provider.
    
    * gnu/packages/matrix.scm (python-synapse-s3-storage-provider): New 
variable.
    
    Merges: https://codeberg.org/guix/guix/pulls/6470
    Change-Id: I239bfd7eaa949a9a17147551b951458820928d7a
    Reviewed-by: Yan Abu Arab <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/matrix.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 1b591c6fc3..d1eb5b21c9 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2025 Ricardo Wurmus <[email protected]>
 ;;; Copyright © 2025 Arjan Adriaanse <[email protected]>
 ;;; Copyright © 2025 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2026 Zheng Junjie <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -412,6 +413,42 @@ layer doesn't do any network IO on its own, but on top of 
that is a full
 fledged batteries-included asyncio layer using aiohttp.")
     (license license:isc)))
 
+(define-public python-synapse-s3-storage-provider
+  (package
+    (name "python-synapse-s3-storage-provider")
+    (version "1.6.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/matrix-org/synapse-s3-storage-provider";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "03y72439z718wjapdgqcw1qajpc917djsf4jhp2qrgv9l71rrrk9"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-backend #~'custom
+      #:test-flags #~(list "-m" "twisted.trial" "test_s3")))
+    (native-inputs
+     (list python-setuptools
+           python-mock synapse))
+    (propagated-inputs
+     (list python-boto3
+           python-botocore
+           python-humanize
+           python-psycopg2
+           python-pyyaml
+           python-tqdm
+           python-twisted))
+    (home-page "https://github.com/matrix-org/synapse-s3-storage-provider";)
+    (synopsis "Synapse storage provider to fetch and store media in Amazon S3")
+    (description
+     "This package implements a storage provider for Synapse, enabling it to
+fetch and store media in Amazon S3.")
+    (license license:asl2.0)))
+
 (define-public pantalaimon
   (package
     (name "pantalaimon")

Reply via email to