pythonPackages.flask-mongoengine: init at 0.9.5

This commit is contained in:
Chris Ostrouchov 2019-07-18 17:10:15 -04:00 committed by Ariel
parent ad8b178b0b
commit 9c983fbf04
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flask
, flask_wtf
, mongoengine
, six
, nose
, rednose
, coverage
}:
buildPythonPackage rec {
pname = "flask-mongoengine";
version = "0.9.5";
src = fetchFromGitHub {
owner = "MongoEngine";
repo = pname;
rev = "v${version}";
sha256 = "05hfddf1dm594wnjyqhj0zmjfsf1kpmx1frjwhypgzx4hf62qcmr";
};
propagatedBuildInputs = [
flask
flask_wtf
mongoengine
six
];
# they set test requirements to setup_requirements...
buildInputs = [
nose
rednose
coverage
];
# tests require working mongodb connection
doCheck = false;
meta = with lib; {
description = "Flask-MongoEngine is a Flask extension that provides integration with MongoEngine and WTF model forms";
homepage = https://github.com/mongoengine/flask-mongoengine;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -3231,6 +3231,10 @@ in {
flask_migrate = callPackage ../development/python-modules/flask-migrate { };
flask-mongoengine = callPackage ../development/python-modules/flask-mongoengine { };
flask_oauthlib = callPackage ../development/python-modules/flask-oauthlib { };
flask-paginate = callPackage ../development/python-modules/flask-paginate { };
flask_principal = callPackage ../development/python-modules/flask-principal { };