Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pymongo / default.nix
blob13fbc9ebe76847454764d33226d3495a64df940a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , dnspython
6 }:
8 buildPythonPackage rec {
9   pname = "pymongo";
10   version = "4.6.2";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-q30BrIMqFmPa1ZLMvZK7Dwd1vI+YoZI8Xhp9f+rUla8=";
18   };
20   propagatedBuildInputs = [
21     dnspython
22   ];
24   # Tests call a running mongodb instance
25   doCheck = false;
27   pythonImportsCheck = [ "pymongo" ];
29   meta = with lib; {
30     description = "Python driver for MongoDB";
31     homepage = "https://github.com/mongodb/mongo-python-driver";
32     license = licenses.asl20;
33     maintainers = with maintainers; [ ];
34   };