GNU bug report logs - #27071
[PATCH 0/3] Add flask-script, flask-migrate, flasgger.

Previous Next

Package: guix-patches;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Thu, 25 May 2017 17:55:01 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 27071 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: 27071 <at> debbugs.gnu.org
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>
Subject: [PATCH 3/3] gnu: Add python-flasgger.
Date: Thu, 25 May 2017 19:57:22 +0200
* 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.