2017-10-16 22:46:10 +00:00
|
|
|
{ stdenv, python }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (python.pkgs) buildPythonApplication fetchPypi requests;
|
|
|
|
in
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "tzupdate";
|
2019-05-13 09:52:38 +00:00
|
|
|
version = "1.4.0";
|
2017-10-16 22:46:10 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-13 09:52:38 +00:00
|
|
|
sha256 = "1sc3z2bx2nhnxg82x0jy19pr8lw56chbr90c2lr11w495csqwhz7";
|
2017-10-16 22:46:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Update timezone information based on geoip.";
|
|
|
|
homepage = https://github.com/cdown/tzupdate;
|
|
|
|
maintainers = [ maintainers.michaelpj ];
|
|
|
|
license = licenses.unlicense;
|
|
|
|
};
|
|
|
|
}
|