[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27071: [PATCH v2 7/8] gnu: Add python-apispec.
From: |
Danny Milosavljevic |
Subject: |
bug#27071: [PATCH v2 7/8] gnu: Add python-apispec. |
Date: |
Sat, 3 Jun 2017 08:22:15 +0200 |
* gnu/packages/python.scm (python-apispec, python2-apispec): New variables.
---
gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cbc8650b4..243637881 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15066,3 +15066,34 @@ complex datatypes to and from native Python
datatypes.")
(define-public python2-bottle
(package-with-python2 python-bottle))
+
+(define-public python-apispec
+ (package
+ (name "python-apispec")
+ (version "0.22.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "apispec" version))
+ (sha256
+ (base32
+ "0y3jxmgp2d24am3hxl40f5rw9abb0r8037sagax3dv64h4n1azwq"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pyyaml" ,python-pyyaml)))
+ (native-inputs
+ `(("python-pytest-3.0" ,python-pytest-3.0)
+ ("python-flask" ,python-flask)
+ ("python-marshmallow" ,python-marshmallow)
+ ("python-tornado" ,python-tornado)
+ ("python-bottle" ,python-bottle)
+ ("python-mock" ,python-mock)))
+ (home-page "https://github.com/marshmallow-code/apispec")
+ (synopsis "Swagger 2.0 API specification generator")
+ (description "@code{python-apispec} is a pluggable API specification
+generator. Currently supports the OpenAPI specification (f.k.a.
+Swagger 2.0).")
+ (license license:expat)))
+
+(define-public python2-apispec
+ (package-with-python2 python-apispec))
- bug#27071: [PATCH v2 0/8] Add python-flasgger and its dependencies., Danny Milosavljevic, 2017/06/03
- bug#27071: [PATCH v2 2/8] gnu: Add python-rfc3987., Danny Milosavljevic, 2017/06/03
- bug#27071: [PATCH v2 1/8] gnu: Add python-jsonpointer., Danny Milosavljevic, 2017/06/03
- bug#27071: [PATCH v2 5/8] gnu: Add python-marshmallow., Danny Milosavljevic, 2017/06/03
- bug#27071: [PATCH v2 8/8] gnu: Add python-flasgger., Danny Milosavljevic, 2017/06/03
- bug#27071: [PATCH v2 7/8] gnu: Add python-apispec.,
Danny Milosavljevic <=
- bug#27071: [PATCH v2 3/8] gnu: Add python-validate-email., Danny Milosavljevic, 2017/06/03
- bug#27071: [PATCH v2 4/8] gnu: Add python-flex., Danny Milosavljevic, 2017/06/03
- bug#27071: [PATCH v2 6/8] gnu: Add python-bottle., Danny Milosavljevic, 2017/06/03
- bug#27071: [PATCH v2 0/8] Add python-flasgger and its dependencies., Marius Bakke, 2017/06/04