~ruther/guix-local

a5f0e03a48737927cbbd3ddb6e7a49632a4232ca — Nicolas Graves 6 months ago 657f8e4
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>
1 files changed, 11 insertions(+), 9 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +11 -9
@@ 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.")