summary refs log tree commit diff
path: root/pkgs/applications/misc/tzupdate/default.nix
blob: ae4185441320a11435dc7d6d7f4fc523139c0381 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, python }:

let
  inherit (python.pkgs) buildPythonApplication fetchPypi requests;
in
buildPythonApplication rec {
  pname = "tzupdate";
  version = "1.5.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "13np40h64bgkcj10qw6f4nb51p47bb20fd6pzxq8xbr645a4d34m";
  };

  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;
  };
}