mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
pythonPackages.flask-mongoengine: init at 0.9.5
This commit is contained in:
parent
ad8b178b0b
commit
9c983fbf04
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user