summaryrefslogtreecommitdiff
path: root/gnu/packages/matrix.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-01 00:40:00 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 09:09:43 +0100
commite6b4c19b3f9d9b2b4516aafcb732a49432f646f3 (patch)
tree9e4dfbfafb43e6505b6a58cb4ae586c8c9d1cd85 /gnu/packages/matrix.scm
parent2620b5fe5f4523c2c7a0dfc7e110a65656c71010 (diff)
gnu: python-matrix-synapse-ldap3: Switch to pyproject.
* gnu/packages/matrix.scm (python-matrix-synapse-ldap3): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Improve style. [native-inputs]: Add python-setuptools. Change-Id: I134953d039037e346533cb7c50c2497a564dabf1 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/matrix.scm')
-rw-r--r--gnu/packages/matrix.scm24
1 files changed, 14 insertions, 10 deletions
diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 7a2a6f8cd64..d3244881a42 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -152,18 +152,22 @@ on @url{https://github.com/tulir/whatsmeow, whatsmeow}.")
(version "0.1.4")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "matrix-synapse-ldap3" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/matrix-org/matrix-synapse-ldap3")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "01bms89sl16nyh9f141idsz4mnhxvjrc3gj721wxh1fhikps0djx"))))
- (build-system python-build-system)
+ (base32 "1p49h4k216iwap3axws7ffz94zn25j85f7kkv3wky1fvsb8i1r4h"))))
+ (build-system pyproject-build-system)
(arguments
- ;; tests require synapse, creating a circular dependency.
- '(#:tests? #f
- #:phases (modify-phases %standard-phases
- ;; Also, auth_provider.py attempts to import synapse.
- (delete 'sanity-check))))
+ (list
+ #:tests? #f ; tests require synapse, creating a circular dependency.
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Also, auth_provider.py attempts to import synapse.
+ (delete 'sanity-check))))
+ (native-inputs (list python-setuptools))
(propagated-inputs
(list python-twisted python-ldap3 python-service-identity))
(home-page "https://github.com/matrix-org/matrix-synapse-ldap3")