Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / flask-pymongo / default.nix
blob721de186417f6db0c20dd1c2e5dce030a41abeac
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools
5 , vcversioner
6 , flask
7 , pymongo
8 , six
9 , pytestCheckHook
12 buildPythonPackage rec {
13   pname = "flask-pymongo";
14   version = "2.3.0";
15   pyproject = true;
17   src = fetchPypi {
18     pname = "Flask-PyMongo";
19     inherit version;
20     hash = "sha256-Yg6wLciAil/LkPJsq2y6nWv0l7FQMq48qZ34A2bjMxQ=";
21   };
23   nativeBuildInputs = [
24     setuptools
25     vcversioner
26   ];
28   propagatedBuildInputs = [
29     flask
30     pymongo
31     six
32   ];
34   pythonImportsCheck = [ "flask_pymongo" ];
36   nativeCheckInputs = [
37     pytestCheckHook
38   ];
40   # requires running MongoDB
41   doCheck = false;
43   meta = {
44     homepage = "https://github.com/dcrosta/flask-pymongo";
45     description = "PyMongo support for Flask applications";
46     license = lib.licenses.bsd2;
47     maintainers = [ ];
48   };