From 0a7f17f0e02bb5434fc9b23b6a46897c0ea34782 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Thu, 10 Nov 2016 01:09:04 +0100 Subject: gnu: Add python-flask-restplus. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python.scm (python-flask-restplus): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0d3c7aeac9..d79d8488b2 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12213,3 +12213,34 @@ asynchronous messaging environments.") (description "This package provides colored output for the @command{nosetests} command of the Python Nose unit test framework.") (license license:bsd-3))) + +(define-public python-flask-restplus + (package + (name "python-flask-restplus") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flask-restplus" version)) + (sha256 + (base32 + "11his6ii5brpkhld0d5bwzjjw4q3vmplpd6fmgzjrvvklsbk0cf4")))) + (build-system python-build-system) + (propagated-inputs + `(("python-aniso8601" ,python-aniso8601) + ("python-flask" ,python-flask) + ("python-jsonschema" ,python-jsonschema) + ("python-pytz" ,python-pytz) + ("python-six" ,python-six))) + (native-inputs + `(("python-tzlocal" ,python-tzlocal) + ("python-blinker" ,python-blinker) + ("python-nose" ,python-nose) + ("python-rednose" ,python-rednose))) + (home-page "https://github.com/noirbizarre/flask-restplus") + (synopsis "Framework for documented API development with Flask") + (description "This package provides a framework for API development with +the Flask web framework in Python. It is similar to package +@code{python-flask-restful} but supports the @code{python-swagger} +documentation builder.") + (license license:expat))) -- cgit 1.4.1