python3Packages.flask-restful: 0.3.8 -> 0.3.9
This commit is contained in:
parent
c3a6853878
commit
c782a11715
1 changed files with 31 additions and 15 deletions
|
@ -1,30 +1,46 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, fetchpatch, isPy3k
|
{ lib
|
||||||
, nose, mock, blinker, pytest
|
, buildPythonPackage
|
||||||
, flask, six, pytz, aniso8601, pycrypto
|
, fetchPypi
|
||||||
|
, aniso8601
|
||||||
|
, flask
|
||||||
|
, pytz
|
||||||
|
, six
|
||||||
|
, blinker
|
||||||
|
, mock
|
||||||
|
, nose
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Flask-RESTful";
|
pname = "Flask-RESTful";
|
||||||
version = "0.3.8";
|
version = "0.3.9";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "05b9lzx5yc3wgml2bcq50lq35h66m8zpj6dc9advcb5z3acsbaay";
|
sha256 = "0gm5dz088v3d2k1dkcp9b3nnqpkk0fp2jly870hijj2xhc5nbv6c";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ flask six pytz aniso8601 pycrypto ];
|
propagatedBuildInputs = [
|
||||||
|
aniso8601
|
||||||
|
flask
|
||||||
|
pytz
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ pytest nose mock blinker ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
# test_reqparse.py: werkzeug move Multidict location (only imported in tests)
|
mock
|
||||||
# handle_non_api_error isn't updated for addition encoding argument
|
nose
|
||||||
checkPhase = ''
|
blinker
|
||||||
pytest --ignore=tests/test_reqparse.py -k 'not handle_non_api_error'
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://flask-restful.readthedocs.io/";
|
homepage = "https://flask-restful.readthedocs.io";
|
||||||
description = "REST API building blocks for Flask";
|
description = "Simple framework for creating REST APIs";
|
||||||
|
longDescription = ''
|
||||||
|
Flask-RESTful provides the building blocks for creating a great
|
||||||
|
REST API.
|
||||||
|
'';
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue