python3Packages.pytz: 2020.5 -> 2021.1

This commit is contained in:
Fabian Affolter 2021-02-04 12:14:52 +01:00 committed by Frederik Rietdijk
parent 69a8b546b6
commit 17ce1039f1

View file

@ -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";