depot/third_party/nixpkgs/pkgs/development/python-modules/flask-pymongo/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

48 lines
815 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
vcversioner,
flask,
pymongo,
six,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "flask-pymongo";
version = "2.3.0";
pyproject = true;
src = fetchPypi {
pname = "Flask-PyMongo";
inherit version;
hash = "sha256-Yg6wLciAil/LkPJsq2y6nWv0l7FQMq48qZ34A2bjMxQ=";
};
nativeBuildInputs = [
setuptools
vcversioner
];
propagatedBuildInputs = [
flask
pymongo
six
];
pythonImportsCheck = [ "flask_pymongo" ];
nativeCheckInputs = [ pytestCheckHook ];
# requires running MongoDB
doCheck = false;
meta = {
homepage = "https://github.com/dcrosta/flask-pymongo";
description = "PyMongo support for Flask applications";
license = lib.licenses.bsd2;
maintainers = [ ];
};
}