lol
1{ stdenv, python }:
2
3let
4 inherit (python.pkgs) buildPythonApplication fetchPypi requests;
5in
6buildPythonApplication rec {
7 name = "${pname}-${version}";
8 pname = "tzupdate";
9 version = "1.2.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "1wj2r1wirnn5kllaasdldimvp3cc3w7w890iqrjksz5wwjbnj8pk";
14 };
15
16 propagatedBuildInputs = [ requests ];
17
18 meta = with stdenv.lib; {
19 description = "Update timezone information based on geoip.";
20 homepage = https://github.com/cdown/tzupdate;
21 maintainers = [ maintainers.michaelpj ];
22 license = licenses.unlicense;
23 };
24}