diff --git a/pkgs/development/python-modules/pytz/default.nix b/pkgs/development/python-modules/pytz/default.nix index dab8f479c04..1a1e1585d28 100644 --- a/pkgs/development/python-modules/pytz/default.nix +++ b/pkgs/development/python-modules/pytz/default.nix @@ -2,17 +2,19 @@ buildPythonPackage rec { pname = "pytz"; - version = "2020.5"; + version = "2021.1"; src = fetchPypi { inherit pname version; - sha256 = "180befebb1927b16f6b57101720075a984c019ac16b1b7575673bea42c6c3da5"; + sha256 = "sha256-g6SpCJS/OOJDzwUsi1jzgb/pp6SD9qnKsUC8f3AqxNo="; }; checkPhase = '' ${python.interpreter} -m unittest discover -s pytz/tests ''; + pythonImportsCheck = [ "pytz" ]; + meta = with lib; { description = "World timezone definitions, modern and historical"; homepage = "https://pythonhosted.org/pytz";