nixpkgs-suyu/pkgs/development/python-modules/tzlocal/default.nix
Frederik Rietdijk 67651d80bc Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
2017-09-06 13:54:10 +02:00

24 lines
545 B
Nix

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