summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-23 17:12:14 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 20:51:51 +0000
commitdb7aeb152711044dd05f5901434154069c4804f0 (patch)
treefd7c6713640c87cafdba45bc1fe5ce07f94f5893 /gnu/packages/python-web.scm
parent71feb6e64c20fb6cf169cb3fc595bc309321949a (diff)
gnu: python-hawkauthlib: Switch to pyproject.
* gnu/packages/python-web.scm (python-hawkauthlib): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:test-backend>: Set it. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I6299010b634b18ce6f1a0e5084def7453242a291 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm21
1 files changed, 12 insertions, 9 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 81baece9f25..fe816a50120 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8891,19 +8891,22 @@ search engine replacement on both desktop and mobile.")
(version "2.0.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "hawkauthlib" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mozilla-services/hawkauthlib")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "03ai47s4h8nfnrf25shbfvkm1b9n1ccd4nmmj280sg1fayi69zgg"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-requests python-webob))
+ (base32 "0pdpk3fp87ngfsyp4lm2z7z8b203jxsmvbz59q6r6xgg9sp4cl3l"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:test-backend #~'unittest))
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-requests python-webob))
(home-page "https://github.com/mozilla-services/hawkauthlib")
(synopsis "Hawk Access Authentication protocol")
(description
- "This is a low-level Python library for implementing Hawk Access Authentication,
-a simple HTTP request-signing scheme.")
+ "This is a low-level Python library for implementing Hawk Access
+Authentication, a simple HTTP request-signing scheme.")
(license license:mpl2.0)))
(define-public python-pybrowserid