mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
23 lines
561 B
Nix
23 lines
561 B
Nix
{ lib, buildPythonPackage, fetchPypi, python }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytz";
|
|
version = "2019.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "d747dd3d23d77ef44c6a3526e274af6efeb0a6f1afd5a69ba4d5be4098c8e141";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|