2021-01-25 08:26:54 +00:00
|
|
|
{ lib, python3 }:
|
2017-10-16 22:46:10 +00:00
|
|
|
|
|
|
|
let
|
2020-01-31 06:16:55 +00:00
|
|
|
inherit (python3.pkgs) buildPythonApplication fetchPypi requests;
|
2017-10-16 22:46:10 +00:00
|
|
|
in
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "tzupdate";
|
2020-10-15 04:39:41 +00:00
|
|
|
version = "2.1.0";
|
2017-10-16 22:46:10 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-15 04:39:41 +00:00
|
|
|
sha256 = "5b55795c390e4ccc90e649c8cc387447daaf30a21d68f7196b49824cbcba8adc";
|
2017-10-16 22:46:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-01-31 06:16:55 +00:00
|
|
|
description = "Update timezone information based on geoip";
|
|
|
|
homepage = "https://github.com/cdown/tzupdate";
|
2017-10-16 22:46:10 +00:00
|
|
|
maintainers = [ maintainers.michaelpj ];
|
|
|
|
license = licenses.unlicense;
|
|
|
|
};
|
|
|
|
}
|