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;
};
}

View file

@ -22973,25 +22973,7 @@ in {
twisted = callPackage ../development/python-modules/twisted { };
tzlocal = buildPythonPackage rec {
name = "tzlocal-1.2.2";
propagatedBuildInputs = with self; [ pytz ];
src = pkgs.fetchurl {
url = "mirror://pypi/t/tzlocal/${name}.tar.gz";
sha256 = "0paj7vlsb0np8b5sp4bv64wxv7qk2piyp7xg29pkhdjwsbls9fnb";
};
# test fail (timezone test fail)
doCheck = false;
meta = with pkgs.stdenv.lib; {
description = "Tzinfo object for the local timezone";
homepage = https://github.com/regebro/tzlocal;
license = licenses.cddl;
};
};
tzlocal = callPackage ../development/python-modules/tzlocal { };
u-msgpack-python = callPackage ../development/python-modules/u-msgpack-python { };