{ lib, buildPythonPackage, fetchPypi, python }: buildPythonPackage rec { pname = "pytz"; version = "2020.5"; src = fetchPypi { inherit pname version; sha256 = "180befebb1927b16f6b57101720075a984c019ac16b1b7575673bea42c6c3da5"; }; checkPhase = '' ${python.interpreter} -m unittest discover -s pytz/tests ''; meta = with lib; { description = "World timezone definitions, modern and historical"; homepage = "https://pythonhosted.org/pytz"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; }