diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-01 00:36:42 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-01 09:09:43 +0100 |
| commit | 2620b5fe5f4523c2c7a0dfc7e110a65656c71010 (patch) | |
| tree | 3cae3c9397a5cbdd0efe9d1c77fc8611f90130a6 /gnu/packages | |
| parent | 076d425945a02b8605c8c4a06379dcceb1f89712 (diff) | |
gnu: python-matrix-client: Switch to pyproject.
* gnu/packages/matrix.scm (python-matrix-client):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools. Remove python-pytest-runner.
[propagated-inputs, home-page]: Run guix style.
Change-Id: I2f1bfcac7c4a530b26c42e3ac903b9076fb1b6af
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/matrix.scm | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index 9f654fb0223..7a2a6f8cd64 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -131,18 +131,17 @@ on @url{https://github.com/tulir/whatsmeow, whatsmeow}.") (version "0.3.2") (source (origin - (method url-fetch) - (uri (pypi-uri "matrix-client" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/matrix-org/matrix-python-sdk") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1mgjd0ymf9mvqjkvgx3xjhxap7rzdmpa21wfy0cxbw2xcswcrqyw")))) - (build-system python-build-system) - (propagated-inputs - (list python-requests)) - (native-inputs - (list python-pytest python-pytest-runner python-responses)) - (home-page - "https://github.com/matrix-org/matrix-python-sdk") + (base32 "01ppn2vxyd7c01ww9bicj7qlyycdyf89b2wbikdb9d2k1h03rfml")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-requests)) + (native-inputs (list python-pytest python-responses python-setuptools)) + (home-page "https://github.com/matrix-org/matrix-python-sdk") (synopsis "Client-Server SDK for Matrix") (description "This package provides client-server SDK for Matrix.") (license license:asl2.0))) |
