at 18.09-beta 560 B view raw
1{ lib, buildPythonPackage, fetchPypi, python }: 2 3buildPythonPackage rec { 4 pname = "pytz"; 5 version = "2018.5"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "ffb9ef1de172603304d9d2819af6f5ece76f2e85ec10692a524dd876e72bf277"; 10 }; 11 12 checkPhase = '' 13 ${python.interpreter} -m unittest discover -s pytz/tests 14 ''; 15 16 meta = with lib; { 17 description = "World timezone definitions, modern and historical"; 18 homepage = "http://pythonhosted.org/pytz"; 19 license = licenses.mit; 20 maintainers = with maintainers; [ dotlambda ]; 21 }; 22}