python.pkgs.tzlocal: 1.2.2 -> 1.4

This commit is contained in:
Jörg Thalheim
2017-08-27 16:01:22 +01:00
committed by Frederik Rietdijk
parent ffb043b769
commit c9f387a55c
2 changed files with 25 additions and 19 deletions

View File

@@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi
, tzlocal, pytz }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "tzlocal";
version = "1.4";
propagatedBuildInputs = [ pytz ];
src = fetchPypi {
inherit pname version;
sha256 = "0n9hw4kqblyc0avzwi26rqmvyk9impb608rvy11qifmigy7r18h5";
};
# 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;
};
}