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