3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pymongo/default.nix
2022-09-19 10:37:40 +02:00

29 lines
590 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymongo";
version = "4.2.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-cvM49qq9N9NDvZ0f3T3pIRBNOVdmvMXNxAOeTC3Zd2Y=";
};
# 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; [ ];
};
}