mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
24 lines
559 B
Nix
24 lines
559 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, tzlocal, pytz }:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
pname = "tzlocal";
|
|
version = "1.5.1";
|
|
|
|
propagatedBuildInputs = [ pytz ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
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;
|
|
};
|
|
}
|