[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/13: gnu: Add python-flask-restx.
From: |
guix-commits |
Subject: |
04/13: gnu: Add python-flask-restx. |
Date: |
Mon, 22 Jun 2020 17:55:43 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 24297a9a9cc36de88ed2a6d30ba2ed9acc34407b
Author: Edouard Klein <edk@beaver-labs.com>
AuthorDate: Tue Jun 2 11:45:18 2020 +0200
gnu: Add python-flask-restx.
* gnu/packages/python-web.scm (python-flask-restx): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
gnu/packages/python-web.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index af414b7..030abef 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4029,3 +4029,51 @@ request/response web apps to larger, grown
applications.")
than 326,000 known user-agents. Users can pick a random one, or select one
based on filters.")
(license license:expat)))
+
+(define-public python-flask-restx
+ (package
+ (name "python-flask-restx")
+ (version "0.2.0")
+ (source
+ ;; We fetch from the Git repo because there are no tests in the PyPI
+ ;; archive.
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/python-restx/flask-restx")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xf2vkmdngp9cv9klznizai4byxjcf0iqh1pr4b83nann0jxqwy7"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-aniso8601" ,python-aniso8601)
+ ("python-flask" ,python-flask)
+ ("python-jsonschema" ,python-jsonschema)
+ ("python-pytz" ,python-pytz)))
+ (native-inputs
+ `(("python-blinker" ,python-blinker)
+ ("python-faker" ,python-faker)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-benchmark"
+ ,python-pytest-benchmark)
+ ("python-pytest-flask" ,python-pytest-flask)
+ ("python-pytest-mock" ,python-pytest-mock)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "pytest" "--benchmark-skip" "-k"
+ ;; Those tests need internet access
+ "not test_check and not test_valid_value_check"))))))
+ (home-page "https://github.com/python-restx/flask-restx")
+ (synopsis
+ "Framework for fast, easy and documented API development with Flask")
+ (description
+ "Flask-RESTX is an extension for Flask that adds support for quickly
building
+REST APIs. Flask-RESTX encourages best practices with minimal setup. If you
are familiar
+ with Flask, Flask-RESTX should be easy to pick up. It provides a coherent
collection of
+decorators and tools to describe your API and expose its documentation
properly using
+Swagger.")
+ (license license:bsd-3)))
- 01/13: gnu: Add python-py-cpuinfo., (continued)
- 01/13: gnu: Add python-py-cpuinfo., guix-commits, 2020/06/22
- 02/13: gnu: Add python-pytest-benchmark., guix-commits, 2020/06/22
- 06/13: gnu: Add python-libtmux., guix-commits, 2020/06/22
- 05/13: gnu: Add python-pyfiglet., guix-commits, 2020/06/22
- 08/13: gnu: template-glib: Update to 3.34.0., guix-commits, 2020/06/22
- 11/13: gnu: mlt: Update to 6.20.0., guix-commits, 2020/06/22
- 13/13: gnu: liferea: Update to 1.12.8., guix-commits, 2020/06/22
- 03/13: gnu: Add python-pytest-flask., guix-commits, 2020/06/22
- 07/13: gnu: Add python-daemux., guix-commits, 2020/06/22
- 09/13: gnu: jamvm: Fix to work with current gcc and glibc., guix-commits, 2020/06/22
- 04/13: gnu: Add python-flask-restx.,
guix-commits <=
- 10/13: gnu: darktable: Update to 3.0.2., guix-commits, 2020/06/22
- 12/13: gnu: mlt: Build with the latest ffmpeg., guix-commits, 2020/06/22