diff options
author | wrobell <wrobell@riseup.net> | 2025-06-18 19:55:35 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-28 00:34:27 +0100 |
commit | b286fc5ac19b55f9c6b83db53c1a61280e091da5 (patch) | |
tree | a2d2b3e8afd9001a40139773e0d4cbd8a54a270b | |
parent | bdde705c8c7ff922972115852f992a08cea9af18 (diff) |
gnu: Add python-essentials-openapi.
* gnu/packages/python-web.scm (python-essentials-openapi): New variable.
Change-Id: I80a6c65c2865b79ce01d541d53f8859e9aa9c157
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r-- | gnu/packages/python-web.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e290daa335..f40c068eeb 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -647,6 +647,40 @@ Async mode for @url{https://domainconnect.org/, Domain Connect protocol}.") Dropbox API v2.") (license license:expat))) +(define-public python-essentials-openapi + (package + (name "python-essentials-openapi") + (version "1.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Neoteroi/essentials-openapi") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0f3lhpkqhvv8sr1c34cvzdqkc61306m03w3jp0zdih1v6is05j8x")))) + (build-system pyproject-build-system) + (native-inputs + (list python-flask + python-hatchling + python-pydantic + python-pytest + python-rich)) + (propagated-inputs + (list python-essentials + python-httpx + python-jinja2 + python-markupsafe + python-pyyaml)) + (home-page "https://github.com/Neoteroi/essentials-openapi/") + (synopsis "Generator for OpenAPI Documentation") + (description + "Generator for OpenAPI Documentation version 2 and 3, in JSON and YAML +formats. Generator for other kinds of documents from OpenAPI Documentation +files.") + (license license:expat))) + (define-public python-eventlet (package (name "python-eventlet") |