587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
49 lines
810 B
Nix
49 lines
810 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 = [ ];
|
|
};
|
|
}
|