mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
29 lines
604 B
Nix
29 lines
604 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymongo";
|
|
version = "3.12.1";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "704879b6a54c45ad76cea7c6789c1ae7185050acea7afd15b58318fa1932ed45";
|
|
};
|
|
|
|
# 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; [ ];
|
|
};
|
|
}
|