pythonPackages.flask-admin: fix build
This commit is contained in:
parent
ba09be4c69
commit
d1795bbb69
@ -8,12 +8,16 @@
|
|||||||
, wtf-peewee
|
, wtf-peewee
|
||||||
, sqlalchemy
|
, sqlalchemy
|
||||||
, sqlalchemy-citext
|
, sqlalchemy-citext
|
||||||
|
, sqlalchemy-utils
|
||||||
, flask-mongoengine
|
, flask-mongoengine
|
||||||
, flask_sqlalchemy
|
, flask_sqlalchemy
|
||||||
, flask-babelex
|
, flask-babelex
|
||||||
, shapely
|
, shapely
|
||||||
, geoalchemy2
|
, geoalchemy2
|
||||||
, psycopg2
|
, psycopg2
|
||||||
|
, arrow
|
||||||
|
, colour
|
||||||
|
, email_validator
|
||||||
, flask
|
, flask
|
||||||
, wtforms
|
, wtforms
|
||||||
, isPy27
|
, isPy27
|
||||||
@ -22,12 +26,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flask-admin";
|
pname = "flask-admin";
|
||||||
version = "1.5.3";
|
version = "1.5.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "Flask-Admin";
|
pname = "Flask-Admin";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "ca0be6ec11a6913b73f656c65c444ae5be416c57c75638dd3199376ce6bc7422";
|
sha256 = "1f31vzc0p2xni5mh1wvjk9jxf4ddlx2fj4r0f3vv2n9db3c63iv8";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
@ -38,12 +42,16 @@ buildPythonPackage rec {
|
|||||||
wtf-peewee
|
wtf-peewee
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
sqlalchemy-citext
|
sqlalchemy-citext
|
||||||
|
sqlalchemy-utils
|
||||||
flask-mongoengine
|
flask-mongoengine
|
||||||
flask_sqlalchemy
|
flask_sqlalchemy
|
||||||
flask-babelex
|
flask-babelex
|
||||||
shapely
|
shapely
|
||||||
geoalchemy2
|
geoalchemy2
|
||||||
psycopg2
|
psycopg2
|
||||||
|
arrow
|
||||||
|
colour
|
||||||
|
email_validator
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -52,13 +60,14 @@ buildPythonPackage rec {
|
|||||||
] ++ lib.optionals isPy27 [ enum34 ];
|
] ++ lib.optionals isPy27 [ enum34 ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# disable tests that require mongodb, postresql
|
# disable tests that require mongodb, postresql, or network
|
||||||
nosetests \
|
nosetests \
|
||||||
-e "mongoengine" \
|
-e "mongoengine" \
|
||||||
-e "pymongo" \
|
-e "pymongo" \
|
||||||
-e "test_form_upload" \
|
-e "test_form_upload" \
|
||||||
-e "test_postgres" \
|
-e "test_postgres" \
|
||||||
-e "geoa" \
|
-e "geoa" \
|
||||||
|
-e "test_ajax_fk" \
|
||||||
flask_admin/tests
|
flask_admin/tests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user