From 17ce1039f11673abacbf0d5aef8a6e3023924db8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Feb 2021 12:14:52 +0100 Subject: [PATCH] python3Packages.pytz: 2020.5 -> 2021.1 --- pkgs/development/python-modules/pytz/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytz/default.nix b/pkgs/development/python-modules/pytz/default.nix index dab8f479c04e..1a1e1585d289 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";