summary refs log tree commit diff
path: root/pkgs/applications/misc/tzupdate/default.nix
blob: 3873f8d248ebd83514d981f2580be769ef1e456e (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
{ lib, stdenv, python3 }:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "5b55795c390e4ccc90e649c8cc387447daaf30a21d68f7196b49824cbcba8adc";
  };

  propagatedBuildInputs = [ requests ];

  meta = with lib; {
    description = "Update timezone information based on geoip";
    homepage = "https://github.com/cdown/tzupdate";
    maintainers = [ maintainers.michaelpj ];
    license = licenses.unlicense;
  };
}