2017-10-17 00:46:10 +02:00
|
|
|
{ stdenv, python }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (python.pkgs) buildPythonApplication fetchPypi requests;
|
|
|
|
in
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "tzupdate";
|
2019-08-06 09:45:17 +02:00
|
|
|
version = "1.5.0";
|
2017-10-17 00:46:10 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-06 09:45:17 +02:00
|
|
|
sha256 = "13np40h64bgkcj10qw6f4nb51p47bb20fd6pzxq8xbr645a4d34m";
|
2017-10-17 00:46:10 +02: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;
|
|
|
|
};
|
|
|
|
}
|