Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / tzlocal / default.nix
blobc5514cfa53a48b0385e27a6aec786fdac98055a8
1 { lib, buildPythonPackage, fetchPypi
2 , pytz }:
4 buildPythonPackage rec {
5   pname = "tzlocal";
6   version = "2.1";
8   propagatedBuildInputs = [ pytz ];
10   src = fetchPypi {
11     inherit pname version;
12     sha256 = "643c97c5294aedc737780a49d9df30889321cbe1204eac2c2ec6134035a92e44";
13   };
15   # test fail (timezone test fail)
16   doCheck = false;
18   pythonImportsCheck = [ "tzlocal" ];
20   meta = with lib; {
21     description = "Tzinfo object for the local timezone";
22     homepage = "https://github.com/regebro/tzlocal";
23     license = licenses.cddl;
24     maintainers = with maintainers; [ dotlambda ];
25   };