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>
This commit is contained in:
Nicolas Graves 2025-09-20 17:07:25 +02:00 committed by Sharlatan Hellseher
parent 4451ac2f52
commit fc4e35190a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -33145,19 +33145,32 @@ information for your operating system.")
(define-public python-signedjson (define-public python-signedjson
(package (package
(name "python-signedjson") (name "python-signedjson")
(version "1.1.1") (version "1.1.4")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "signedjson" version)) (uri (git-reference
(url "https://github.com/matrix-org/python-signedjson")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "0280f8zyycsmd7iy65bs438flm7m8ffs1kcxfbvhi8hbazkqc19m")))) (base32 "1wkgbwr0hdvafbhbqjibca06rxqbp95gg6rfd3ba6rkgl4g85i5z"))))
(build-system python-build-system) (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 (propagated-inputs
(list python-canonicaljson python-importlib-metadata python-pynacl (list python-canonicaljson
python-typing-extensions python-unpaddedbase64)) python-importlib-metadata
python-pynacl
python-typing-extensions
python-unpaddedbase64))
(native-inputs (native-inputs
(list python-setuptools-scm)) (list python-pytest python-setuptools-scm python-setuptools))
(home-page "https://github.com/matrix-org/python-signedjson") (home-page "https://github.com/matrix-org/python-signedjson")
(synopsis "Sign JSON objects with ED25519 signatures") (synopsis "Sign JSON objects with ED25519 signatures")
(description (description