summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-23 14:06:55 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 14:55:11 +0000
commit17ba7430d2fea5775f4cfecf2ec76f86bd391a8f (patch)
tree50d82b928463188dc64be600ebc4ddc18ab7ca9f /gnu/packages/python-web.scm
parentc3ad8b6b4b039fb10715854a3cc982528f29b340 (diff)
gnu: python-flask-restful-swagger: Switch to pyproject.
* gnu/packages/python-web.scm (python-flask-restful-swagger): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. Change-Id: I3af2d9e263f51f73c3550c28627ae870da330797 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm19
1 files changed, 11 insertions, 8 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7c96a8e4877..4ec70947082 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7880,17 +7880,20 @@ S3.")
(package
(name "python-flask-restful-swagger")
(version "0.20.1")
+ ;; XXX: Unbundle minified javascript.
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "flask-restful-swagger" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rantav/flask-restful-swagger")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "1p66f98b5zpypnnz56pxpbirchqj6aniw6qyrp8h572l0dn9xlvq"))))
- (build-system python-build-system)
- (arguments '(#:tests? #f)) ;no tests
- (propagated-inputs
- (list python-flask-restful python-six))
+ (base32 "1ppdwn25ijf8b3zchxkvwj4ipc68v3p522i8mm51jm0w6mg5bvsh"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ; No tests.
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-flask-restful python-six))
(home-page "https://github.com/rantav/flask-restful-swagger")
(synopsis "Extract Swagger specs from Flask-Restful projects")
(description "This package lets you extract Swagger API documentation