depot/third_party/nixpkgs/pkgs/development/python-modules/pytz/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

22 lines
561 B
Nix

{ lib, buildPythonPackage, fetchPypi, python }:
buildPythonPackage rec {
pname = "pytz";
version = "2020.1";
src = fetchPypi {
inherit pname version;
sha256 = "c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048";
};
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 ];
};
}