gnu: python-hypercorn: Remove "python-" prefix from name.
Hypercorn is mainly a CLI application but also supports a module interface. * gnu/packages/python-web.scm (python-hypercorn): New deprecated variable. (hypercorn): Renamed from the respective above. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>master
parent
b6e1ba6104
commit
782ec05926
|
@ -1635,9 +1635,9 @@ choose to use, ensuring that you can communicate via WebSockets, as defined in
|
||||||
RFC6455, regardless of your programming paradigm.")
|
RFC6455, regardless of your programming paradigm.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-hypercorn
|
(define-public hypercorn
|
||||||
(package
|
(package
|
||||||
(name "python-hypercorn")
|
(name "hypercorn")
|
||||||
(version "0.10.2")
|
(version "0.10.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -1653,6 +1653,7 @@ RFC6455, regardless of your programming paradigm.")
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(invoke "pytest" "-vv"))))))
|
(invoke "pytest" "-vv"))))))
|
||||||
|
;; Propagate because Hypercorn also exposes functionality over a module.
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-h11" ,python-h11)
|
`(("python-h11" ,python-h11)
|
||||||
("python-h2" ,python-h2)
|
("python-h2" ,python-h2)
|
||||||
|
@ -1677,6 +1678,9 @@ WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. It can
|
||||||
utilise asyncio, uvloop, or trio worker types.")
|
utilise asyncio, uvloop, or trio worker types.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python-hypercorn
|
||||||
|
(deprecated-package "python-hypercorn" hypercorn))
|
||||||
|
|
||||||
(define-public python-querystring-parser
|
(define-public python-querystring-parser
|
||||||
(package
|
(package
|
||||||
(name "python-querystring-parser")
|
(name "python-querystring-parser")
|
||||||
|
|
Reference in New Issue