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")
(source
(origin
(method url-fetch)
(uri (pypi-uri "hstspreload" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/sethmlarson/hstspreload")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1qah80p2xlib1rhivvdj9v5y3girxrj7dwp1mnh8mwaj5wy32y8a"))))
(build-system python-build-system)
(home-page
"https://github.com/sethmlarson/hstspreload")
(synopsis
"Chromium HSTS Preload list as a Python package")
(base32 "03fs4m3sy4vwmk1g4q5xakckkfbc8np7cijhpzrakkk0z0cc6h8w"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f)) ; tests require external resources.
(native-inputs (list python-setuptools-next))
(home-page "https://github.com/sethmlarson/hstspreload")
(synopsis "Chromium HSTS Preload list as a Python package")
(description
"@code{python-hstspreload} contains Chromium HSTS Preload list
as a Python package.")