2017-10-16 22:46:10 +00:00
|
|
|
{ stdenv, python }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (python.pkgs) buildPythonApplication fetchPypi requests;
|
|
|
|
in
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "tzupdate";
|
2018-11-08 20:20:39 +00:00
|
|
|
version = "1.3.1";
|
2017-10-16 22:46:10 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-08 20:20:39 +00:00
|
|
|
sha256 = "085kp4v9ijhkfvr0r5rzn4z7nrkb2qig05j0bajb0gkgynwf8wnz";
|
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;
|
|
|
|
};
|
|
|
|
}
|