21 buildPythonPackage rec {
22 pname = "flask-restx";
25 # Tests not included in PyPI tarball
26 src = fetchFromGitHub {
27 owner = "python-restx";
30 sha256 = "0xf2vkmdngp9cv9klznizai4byxjcf0iqh1pr4b83nann0jxqwy7";
33 propagatedBuildInputs = [ aniso8601 jsonschema flask werkzeug pytz six ]
34 ++ lib.optionals isPy27 [ enum34 ];
36 checkInputs = [ pytestCheckHook faker mock pytest-flask pytest-mock pytest-benchmark blinker ];
40 "--deselect=tests/test_inputs.py::URLTest::test_check"
41 "--deselect=tests/test_inputs.py::EmailTest::test_valid_value_check"
42 "--deselect=tests/test_logging.py::LoggingTest::test_override_app_level"
46 homepage = "https://flask-restx.readthedocs.io/en/${version}/";
47 description = "Fully featured framework for fast, easy and documented API development with Flask";
48 license = licenses.bsd3;
49 maintainers = [ maintainers.marsam ];