mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
2620b5fe5f
commit
e6b4c19b3f
1 changed files with 14 additions and 10 deletions
|
@ -152,18 +152,22 @@ on @url{https://github.com/tulir/whatsmeow, whatsmeow}.")
|
||||||
(version "0.1.4")
|
(version "0.1.4")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "matrix-synapse-ldap3" version))
|
(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
|
(sha256
|
||||||
(base32
|
(base32 "1p49h4k216iwap3axws7ffz94zn25j85f7kkv3wky1fvsb8i1r4h"))))
|
||||||
"01bms89sl16nyh9f141idsz4mnhxvjrc3gj721wxh1fhikps0djx"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
;; tests require synapse, creating a circular dependency.
|
(list
|
||||||
'(#:tests? #f
|
#:tests? #f ; tests require synapse, creating a circular dependency.
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases
|
||||||
;; Also, auth_provider.py attempts to import synapse.
|
#~(modify-phases %standard-phases
|
||||||
(delete 'sanity-check))))
|
;; Also, auth_provider.py attempts to import synapse.
|
||||||
|
(delete 'sanity-check))))
|
||||||
|
(native-inputs (list python-setuptools))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-twisted python-ldap3 python-service-identity))
|
(list python-twisted python-ldap3 python-service-identity))
|
||||||
(home-page "https://github.com/matrix-org/matrix-synapse-ldap3")
|
(home-page "https://github.com/matrix-org/matrix-synapse-ldap3")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue