2023-07-15 17:15:38 +00:00
|
|
|
{ lib, python3, fetchPypi }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
2023-07-15 17:15:38 +00:00
|
|
|
inherit (python3.pkgs) buildPythonApplication requests;
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "tzupdate";
|
2020-10-16 20:44:37 +00:00
|
|
|
version = "2.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-16 20:44:37 +00:00
|
|
|
sha256 = "5b55795c390e4ccc90e649c8cc387447daaf30a21d68f7196b49824cbcba8adc";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Update timezone information based on geoip";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "tzupdate";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/cdown/tzupdate";
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.unlicense;
|
|
|
|
};
|
|
|
|
}
|