1 { lib, buildPythonPackage, fetchPypi, fetchpatch, isPy3k
2 , nose, mock, blinker, pytest
3 , flask, six, pytz, aniso8601, pycrypto
6 buildPythonPackage rec {
7 pname = "Flask-RESTful";
11 inherit pname version;
12 sha256 = "05b9lzx5yc3wgml2bcq50lq35h66m8zpj6dc9advcb5z3acsbaay";
15 propagatedBuildInputs = [ flask six pytz aniso8601 pycrypto ];
17 checkInputs = [ pytest nose mock blinker ];
19 # test_reqparse.py: werkzeug move Multidict location (only imported in tests)
20 # handle_non_api_error isn't updated for addition encoding argument
22 pytest --ignore=tests/test_reqparse.py -k 'not handle_non_api_error'
26 homepage = "https://flask-restful.readthedocs.io/";
27 description = "REST API building blocks for Flask";
28 license = licenses.bsd3;