mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 16:46:09 +00:00
23 lines
560 B
Nix
23 lines
560 B
Nix
{ lib, buildPythonPackage, fetchPypi, python }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytz";
|
|
version = "2018.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "410bcd1d6409026fbaa65d9ed33bf6dd8b1e94a499e32168acfc7b332e4095c0";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|