gnu: Add python-rangehttpserver.

* gnu/packages/python-web.scm (python-rangehttpserver): New variable.

Change-Id: Ib37b29bedb468faf4da5ab5080106c54e50f52c7
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
Navid Afkhami 2024-11-08 15:26:17 +00:00 committed by Ricardo Wurmus
parent 6e19a94d5a
commit 2b781003a4
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -7145,6 +7145,28 @@ than 326,000 known user-agents. Users can pick a random one, or select one
based on filters.") based on filters.")
(license license:expat))) (license license:expat)))
(define-public python-rangehttpserver
(package
(name "python-rangehttpserver")
(version "1.4.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/danvk/RangeHTTPServer")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1dx533fsbq1mbz3by7qkm5bh2c253nwvm8214pqbwbfq07kqkwf2"))))
(build-system pyproject-build-system)
(native-inputs (list python-coverage python-coveralls python-pytest))
(home-page "https://github.com/danvk/RangeHTTPServer")
(synopsis "SimpleHTTPServer with support for range requests")
(description
"This tool provides a simple HTTP server with support for Range
requests.")
(license license:asl2.0)))
(define-public python-flask-restx (define-public python-flask-restx
(package (package
(name "python-flask-restx") (name "python-flask-restx")