GNU bug report logs -
#27071
[PATCH 0/3] Add flask-script, flask-migrate, flasgger.
Previous Next
Full log
Message #14 received at 27071 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python.scm (python-flasgger,
python2-flasgger): New variables.
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dc87e9738..b93479d37 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14731,3 +14731,35 @@ for Flask programs that are using @code{python-alembic}.")
(define-public python2-flask-migrate
(package-with-python2 python-flask-migrate))
+
+(define-public python-flasgger
+ (package
+ (name "python-flasgger")
+ (version "0.6.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "flasgger" version))
+ (sha256
+ (base32
+ "0983v8s8fyarlpk7h9nvha6wys0fbzacwkkaickn2jqhv66wh9c6"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("python-flask" ,python-flask)
+ ("python-pyyaml" ,python-pyyaml)
+ ("python-jsonschema" ,python-jsonschema)
+ ("python-mistune" ,python-mistune)
+ ("python-six" ,python-six)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/rochacbruno/flasgger/")
+ (synopsis "Extract Swagger specs from your Flask project")
+ (description "This package allows extracting Swagger (documentation)
+specs from your Flask project and providing an @code{/apidocs/} endpoint
+in order to view them. It is a fork of Flask-Swagger.")
+ (license license:expat)))
+
+(define-public python2-flasgger
+ (package-with-python2 python-flasgger))
This bug report was last modified 8 years and 49 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.