2018-02-03 11:48:47 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, python }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytz";
|
2018-07-22 11:19:18 +01:00
|
|
|
version = "2018.5";
|
2018-02-03 11:48:47 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:19:18 +01:00
|
|
|
sha256 = "ffb9ef1de172603304d9d2819af6f5ece76f2e85ec10692a524dd876e72bf277";
|
2018-02-03 11:48:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m unittest discover -s pytz/tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "World timezone definitions, modern and historical";
|
|
|
|
homepage = "http://pythonhosted.org/pytz";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|