diff options
Diffstat (limited to 'pkgs/development/python-modules/pymongo/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pymongo/default.nix | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/pymongo/default.nix b/pkgs/development/python-modules/pymongo/default.nix index 1ba5c2a225db7..c64d22d66cb97 100644 --- a/pkgs/development/python-modules/pymongo/default.nix +++ b/pkgs/development/python-modules/pymongo/default.nix @@ -2,6 +2,9 @@ lib, buildPythonPackage, fetchPypi, + hatchling, + hatch-requirements-txt, + setuptools, pythonOlder, dnspython, @@ -16,17 +19,24 @@ buildPythonPackage rec { pname = "pymongo"; - version = "4.6.3"; - format = "setuptools"; + version = "4.8.0"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { - inherit pname version; - hash = "sha256-QAB0CQuaYx8SC0LGGyIv10NJDBM6XS+ZwCCM78zMlk4="; + inherit version; + pname = "pymongo"; + hash = "sha256-RU8ilYdXRNxw8YgeSy65nNrQCKM1dLyKrxIFMPZsDN4="; }; - propagatedBuildInputs = [ dnspython ]; + build-system = [ + hatchling + hatch-requirements-txt + setuptools + ]; + + dependencies = [ dnspython ]; # Tests call a running mongodb instance doCheck = false; @@ -44,10 +54,10 @@ buildPythonPackage rec { ; }; - meta = with lib; { + meta = { description = "Python driver for MongoDB"; homepage = "https://github.com/mongodb/mongo-python-driver"; - license = licenses.asl20; - maintainers = with maintainers; [ ]; + license = lib.licenses.asl20; + maintainers = [ ]; }; } |