depot/third_party/nixpkgs/pkgs/development/python-modules/tzlocal/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
520 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, pytz }:
buildPythonPackage rec {
pname = "tzlocal";
version = "2.0.0";
propagatedBuildInputs = [ pytz ];
src = fetchPypi {
inherit pname version;
sha256 = "949b9dd5ba4be17190a80c0268167d7e6c92c62b30026cf9764caf3e308e5590";
};
# test fail (timezone test fail)
doCheck = false;
meta = with stdenv.lib; {
description = "Tzinfo object for the local timezone";
homepage = "https://github.com/regebro/tzlocal";
license = licenses.cddl;
};
}