1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/tzlocal/default.nix

24 lines
527 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
, tzlocal, pytz }:
buildPythonPackage rec {
pname = "tzlocal";
2017-12-30 11:28:22 +00:00
version = "1.5.1";
propagatedBuildInputs = [ pytz ];
src = fetchPypi {
inherit pname version;
2017-12-30 11:28:22 +00:00
sha256 = "4ebeb848845ac898da6519b9b31879cf13b6626f7184c496037b818e238f2c4e";
};
# 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;
};
}