1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 07:26:54 +00:00
nixpkgs/pkgs/development/python-modules/flask-mongoengine/default.nix
2019-11-15 16:04:46 -05:00

48 lines
916 B
Nix

{ 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 ];
};
}