gnu: python-hstspreload: Switch to pyproject.

* gnu/packages/python-web.scm (python-hstspreload):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools-next.
[home-page, synopsis]: Run guix style.

Change-Id: Ib9dce596102e468b2a88c407520d6cdc768ef860
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-06 15:17:54 +02:00 committed by Sharlatan Hellseher
parent 657f8e490c
commit a5f0e03a48
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -9631,16 +9631,18 @@ and rewriting of remote git URLs from various hosting providers.")
(version "2020.10.20") (version "2020.10.20")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "hstspreload" version)) (uri (git-reference
(url "https://github.com/sethmlarson/hstspreload")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "03fs4m3sy4vwmk1g4q5xakckkfbc8np7cijhpzrakkk0z0cc6h8w"))))
"1qah80p2xlib1rhivvdj9v5y3girxrj7dwp1mnh8mwaj5wy32y8a")))) (build-system pyproject-build-system)
(build-system python-build-system) (arguments (list #:tests? #f)) ; tests require external resources.
(home-page (native-inputs (list python-setuptools-next))
"https://github.com/sethmlarson/hstspreload") (home-page "https://github.com/sethmlarson/hstspreload")
(synopsis (synopsis "Chromium HSTS Preload list as a Python package")
"Chromium HSTS Preload list as a Python package")
(description (description
"@code{python-hstspreload} contains Chromium HSTS Preload list "@code{python-hstspreload} contains Chromium HSTS Preload list
as a Python package.") as a Python package.")