about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/tzupdate/default.nix
blob: 7c49696141c65af48f09b32d604c78080ea3f2c7 (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, python3, fetchPypi }:

let
  inherit (python3.pkgs) buildPythonApplication 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;
  };
}