mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
python3Packages.pytz: 2020.5 -> 2021.1
This commit is contained in:
parent
69a8b546b6
commit
17ce1039f1
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user