diff --git a/pkgs/development/python-modules/mongomock/default.nix b/pkgs/development/python-modules/mongomock/default.nix index 85e574f0b6d5..e3dc90ef8082 100644 --- a/pkgs/development/python-modules/mongomock/default.nix +++ b/pkgs/development/python-modules/mongomock/default.nix @@ -1,19 +1,23 @@ { lib , buildPythonPackage , fetchPypi +, packaging , pbr -, sentinels -, six , pytestCheckHook +, pythonOlder +, sentinels }: buildPythonPackage rec { pname = "mongomock"; - version = "4.0.0"; + version = "4.1.2"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-sYMsN0jUdETBiGc3PlzqdUwub2RKDPv9Zn8Xj2i97Pw="; + hash = "sha256-8GzWKvuK4+9jujE0mr0iCmV+8N1PAkOilYfFIT+TG30="; }; nativeBuildInputs = [ @@ -21,15 +25,17 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ + packaging sentinels - six ]; checkInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ "mongomock" ]; + pythonImportsCheck = [ + "mongomock" + ]; meta = with lib; { homepage = "https://github.com/mongomock/mongomock";