diff options
| author | Danny Milosavljevic <dannym@scratchpost.org> | 2017-06-10 23:48:50 +0200 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@scratchpost.org> | 2017-06-10 23:48:50 +0200 |
| commit | 4eadc8b90de8434a6f367308405e1839c473c916 (patch) | |
| tree | 266ecdc6ac2140521da1ecdf65465e5b93d2021d /gnu/packages/python.scm | |
| parent | d0306208b155168ebc1565d32b003acfbc1ebec1 (diff) | |
gnu: Add python-swagger-spec-validator.
* gnu/packages/python.scm (python-swagger-spec-validator,
python2-swagger-spec-validator): New variables.
Diffstat (limited to 'gnu/packages/python.scm')
| -rw-r--r-- | gnu/packages/python.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 44adcba01e7..03e6bb6567f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -15298,3 +15298,28 @@ from your Flask project. It is a fork of Flask-Swagger.") | |||
| 15298 | 15298 | ||
| 15299 | (define-public python2-flasgger | 15299 | (define-public python2-flasgger |
| 15300 | (package-with-python2 python-flasgger)) | 15300 | (package-with-python2 python-flasgger)) |
| 15301 | |||
| 15302 | (define-public python-swagger-spec-validator | ||
| 15303 | (package | ||
| 15304 | (name "python-swagger-spec-validator") | ||
| 15305 | (version "2.1.0") | ||
| 15306 | (source | ||
| 15307 | (origin | ||
| 15308 | (method url-fetch) | ||
| 15309 | (uri (pypi-uri "swagger-spec-validator" version)) | ||
| 15310 | (sha256 | ||
| 15311 | (base32 | ||
| 15312 | "13hkpn2lycwr0468yqhjb3kwszqf7hjwlq61w7vdxq1caz31k4nw")))) | ||
| 15313 | (build-system python-build-system) | ||
| 15314 | (propagated-inputs | ||
| 15315 | `(("python-jsonschema" ,python-jsonschema) | ||
| 15316 | ("python-six" ,python-six))) | ||
| 15317 | (home-page | ||
| 15318 | "http://github.com/Yelp/swagger_spec_validator") | ||
| 15319 | (synopsis "Validation of Swagger specifications") | ||
| 15320 | (description "@code{swagger_spec_validator} provides a library for | ||
| 15321 | validating Swagger API specifications.") | ||
| 15322 | (license license:asl2.0))) | ||
| 15323 | |||
| 15324 | (define-public python2-swagger-spec-validator | ||
| 15325 | (package-with-python2 python-swagger-spec-validator)) | ||
