1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 13:29:13 +03:00
nixpkgs/pkgs/development/python-modules/pymongo/default.nix

36 lines
674 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, dnspython
}:
2017-09-13 22:37:32 -04:00
buildPythonPackage rec {
pname = "pymongo";
version = "4.3.3";
format = "setuptools";
disabled = pythonOlder "3.7";
2017-09-13 22:37:32 -04:00
src = fetchPypi {
inherit pname version;
hash = "sha256-NOlf+wpov/vDtDfy0fJfyRb+899c3u0JktpfQvrpuAc=";
2017-09-13 22:37:32 -04:00
};
propagatedBuildInputs = [
dnspython
];
# Tests call a running mongodb instance
2017-09-13 22:37:32 -04:00
doCheck = false;
pythonImportsCheck = [ "pymongo" ];
meta = with lib; {
description = "Python driver for MongoDB";
homepage = "https://github.com/mongodb/mongo-python-driver";
2017-09-13 22:37:32 -04:00
license = licenses.asl20;
maintainers = with maintainers; [ ];
2017-09-13 22:37:32 -04:00
};
}