Archived
1
0
Fork 0

gnu: hypercorn: Reformat with guix style.

* gnu/packages/python-web.scm (hypercorn): Reformat with guix style.
This commit is contained in:
Troy Figiel 2024-01-13 12:40:12 +01:00 committed by Sharlatan Hellseher
parent 68763a00a3
commit eb0f35e16d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2380,32 +2380,30 @@ RFC6455, regardless of your programming paradigm.")
(package (package
(name "hypercorn") (name "hypercorn")
(version "0.14.4") (version "0.14.4")
(source (origin (source
(method git-fetch) ;PyPI does not have tests (origin
(uri (git-reference (method git-fetch) ;PyPI does not have tests
(url "https://github.com/pgjones/hypercorn") (uri (git-reference
(commit version))) (url "https://github.com/pgjones/hypercorn")
(file-name (git-file-name name version)) (commit version)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"0zyf5b8959sd12ycmqzvsb8746i3gn76rz55gxvix5cwj672m7yx")))) (base32 "0zyf5b8959sd12ycmqzvsb8746i3gn76rz55gxvix5cwj672m7yx"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
;; Propagate because Hypercorn also exposes functionality over a module. ;; Propagate because Hypercorn also exposes functionality over a module.
(propagated-inputs (propagated-inputs (list python-exceptiongroup
(list python-exceptiongroup python-h11
python-h11 python-h2
python-h2 python-priority
python-priority python-tomli
python-tomli python-wsproto))
python-wsproto)) (native-inputs (list python-hypothesis
(native-inputs python-poetry-core
(list python-hypothesis python-pytest
python-poetry-core python-pytest-asyncio
python-pytest python-pytest-cov
python-pytest-asyncio python-pytest-trio
python-pytest-cov python-trio))
python-pytest-trio
python-trio))
(home-page "https://gitlab.com/pgjones/hypercorn/") (home-page "https://gitlab.com/pgjones/hypercorn/")
(synopsis "ASGI Server based on Hyper libraries") (synopsis "ASGI Server based on Hyper libraries")
(description (description