nixpkgs/pkgs/development/python-modules/tzlocal/default.nix

24 lines
508 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi
, pytz }:
buildPythonPackage rec {
pname = "tzlocal";
2020-06-06 07:47:35 +01:00
version = "2.1";
propagatedBuildInputs = [ pytz ];
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:35 +01:00
sha256 = "643c97c5294aedc737780a49d9df30889321cbe1204eac2c2ec6134035a92e44";
};
# test fail (timezone test fail)
doCheck = false;
meta = with lib; {
description = "Tzinfo object for the local timezone";
homepage = "https://github.com/regebro/tzlocal";
license = licenses.cddl;
};
}