diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-06 15:57:59 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-06 18:14:15 +0100 |
| commit | ae3fbf21caacc16c97151c583dee94b4c4b75bff (patch) | |
| tree | 2d276049792e90d055613ca9292fa6e970588a19 /gnu/packages/python-web.scm | |
| parent | d0283dde90ac0858e90813d4a9b38ceeabdfc359 (diff) | |
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>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b4c0b560c0d..206a1af9a08 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -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 |
