python3Packages.pytz: 2020.5 -> 2021.1
This commit is contained in:
parent
69a8b546b6
commit
17ce1039f1
@ -2,17 +2,19 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytz";
|
pname = "pytz";
|
||||||
version = "2020.5";
|
version = "2021.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "180befebb1927b16f6b57101720075a984c019ac16b1b7575673bea42c6c3da5";
|
sha256 = "sha256-g6SpCJS/OOJDzwUsi1jzgb/pp6SD9qnKsUC8f3AqxNo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.interpreter} -m unittest discover -s pytz/tests
|
${python.interpreter} -m unittest discover -s pytz/tests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pytz" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "World timezone definitions, modern and historical";
|
description = "World timezone definitions, modern and historical";
|
||||||
homepage = "https://pythonhosted.org/pytz";
|
homepage = "https://pythonhosted.org/pytz";
|
||||||
|
Loading…
Reference in New Issue
Block a user