gnu: python-mohawk: Update to 1.1.0-0.b789916.

* gnu/packages/python-web.scm (python-mohawk): Update to 1.1.0-0.b789916.
[source]: Switch to git-fetch. Use patch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Set <#:test-flags>.
[native-inputs]: Remove them. Add python-pytest and
python-setuptools-next.

* gnu/packages/patches/python-mohawk-pytest.patch: Add patch from
upstream Github PR.
* gnu/local.mk: Record patch.

Change-Id: I866683573757909b9b5b808cd693991358131c46
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-06 15:57:59 +02:00 committed by Sharlatan Hellseher
parent d0283dde90
commit ae3fbf21ca
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
3 changed files with 1044 additions and 17 deletions

View file

@ -5450,24 +5450,32 @@ protocol, both client and server for Python asyncio module.
(license license:asl2.0)))
(define-public python-mohawk
(package
(name "python-mohawk")
(version "1.1.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "mohawk" version))
(sha256
(base32
"08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j"))))
(build-system python-build-system)
(native-inputs (list python-mock python-nose))
(propagated-inputs (list python-six))
(home-page "https://github.com/kumar303/mohawk")
(synopsis "Library for Hawk HTTP authorization")
(description
"Mohawk is an alternate Python implementation of the Hawk HTTP
(let ((commit "b7899166880e890f01cf2531b5686094ba08df8f")
(revision "0"))
(package
(name "python-mohawk")
(version (git-version "1.1.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/kumar303/mohawk")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "00y9fimcj851rk2770wqk61fac9pnxfnzca4fvsci57zw18i50m6"))
(patches
(search-patches "python-mohawk-pytest.patch"))))
(build-system pyproject-build-system)
(arguments
(list #:test-flags #~(list "mohawk/tests.py")))
(native-inputs (list python-pytest python-setuptools-next))
(home-page "https://github.com/kumar303/mohawk")
(synopsis "Library for Hawk HTTP authorization")
(description
"Mohawk is an alternate Python implementation of the Hawk HTTP
authorization scheme.")
(license license:bsd-3)))
(license license:bsd-3))))
(define-public python-msal
(package