mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
python.pkgs.tzlocal: 1.2.2 -> 1.4
This commit is contained in:
parent
ffb043b769
commit
c9f387a55c
2 changed files with 25 additions and 19 deletions
24
pkgs/development/python-modules/tzlocal/default.nix
Normal file
24
pkgs/development/python-modules/tzlocal/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue