depot/third_party/nixpkgs/pkgs/development/python-modules/pymongo/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

28 lines
590 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymongo";
version = "4.1.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-17jyXJsAQ8uvd7i4lYFOM+ejyAeglzd8B+G9SZRgMNU=";
};
# Tests call a running mongodb instance
doCheck = false;
pythonImportsCheck = [ "pymongo" ];
meta = with lib; {
description = "Python driver for MongoDB";
homepage = "https://github.com/mongodb/mongo-python-driver";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}