diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-20 17:07:25 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-20 19:27:03 +0100 |
commit | 4ea99c8354fb9ab470e3bfd2e25ac70a0bfadd77 (patch) | |
tree | 25c7e3188c4ce50c2dbc03169c56cb09402fda4f | |
parent | dcb1ac7e9e21a6250dfe03b94cd0f428a71f8356 (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>
-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 add0ae44ea..9551d9ed2c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -33169,19 +33169,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 |