diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-20 17:07:25 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:36 +0100 |
| commit | fc4e35190aecbebb11f57155cfa0befeabab363b (patch) | |
| tree | 42e9c8c100c509526e9e4f007b5e4c6f92082408 /gnu/packages/python-xyz.scm | |
| parent | 4451ac2f523571ae92aed1fc281e611967e84ee8 (diff) | |
gnu: python-signedjson: Update to 1.1.4.
* gnu/packages/python-xyz.scm (python-signedjson): Update to 1.1.4.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add phase 'set-version.
[native-inputs]: Add python-pytest, python-setuptools.
Change-Id: I9e1c804a0f7a3634a4ce487d581799935b6e7f10
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a049c155f2..5d9f59b956 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -33145,19 +33145,32 @@ information for your operating system.") (define-public python-signedjson (package (name "python-signedjson") - (version "1.1.1") + (version "1.1.4") (source (origin - (method url-fetch) - (uri (pypi-uri "signedjson" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/matrix-org/python-signedjson") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0280f8zyycsmd7iy65bs438flm7m8ffs1kcxfbvhi8hbazkqc19m")))) - (build-system python-build-system) + (base32 "1wkgbwr0hdvafbhbqjibca06rxqbp95gg6rfd3ba6rkgl4g85i5z")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) (propagated-inputs - (list python-canonicaljson python-importlib-metadata python-pynacl - python-typing-extensions python-unpaddedbase64)) + (list python-canonicaljson + python-importlib-metadata + python-pynacl + python-typing-extensions + python-unpaddedbase64)) (native-inputs - (list python-setuptools-scm)) + (list python-pytest python-setuptools-scm python-setuptools)) (home-page "https://github.com/matrix-org/python-signedjson") (synopsis "Sign JSON objects with ED25519 signatures") (description |
