From 2b781003a4372b793923de8b0f65815c4d5d75a7 Mon Sep 17 00:00:00 2001 From: Navid Afkhami Date: Fri, 8 Nov 2024 15:26:17 +0000 Subject: gnu: Add python-rangehttpserver. * gnu/packages/python-web.scm (python-rangehttpserver): New variable. Change-Id: Ib37b29bedb468faf4da5ab5080106c54e50f52c7 Signed-off-by: Ricardo Wurmus --- gnu/packages/python-web.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d892e03c9d..7bbf05f368 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7145,6 +7145,28 @@ than 326,000 known user-agents. Users can pick a random one, or select one based on filters.") (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 (package (name "python-flask-restx") -- cgit 1.4.1