nixpkgs/pkgs/development/python-modules/pymongo/default.nix
2021-12-14 12:03:44 -08:00

29 lines
604 B
Nix

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