diff options
author | Michael Peyton Jones <me@michaelpj.com> | 2017-10-16 15:46:10 -0700 |
---|---|---|
committer | Michael Peyton Jones <me@michaelpj.com> | 2017-10-19 03:19:14 +0100 |
commit | 922bd8182e060e576150b0bc442f116d0a6eca1e (patch) | |
tree | a0e86bb17770d08e281ee3d8269b5c7011e24b91 /pkgs/applications/misc/tzupdate | |
parent | 00e56fbbee06088bf3bf82169032f5f5778588b7 (diff) |
tzupdate: init at 1.2.0
Diffstat (limited to 'pkgs/applications/misc/tzupdate')
-rw-r--r-- | pkgs/applications/misc/tzupdate/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/misc/tzupdate/default.nix b/pkgs/applications/misc/tzupdate/default.nix new file mode 100644 index 0000000000000..7eb0f2d41b551 --- /dev/null +++ b/pkgs/applications/misc/tzupdate/default.nix @@ -0,0 +1,24 @@ +{ stdenv, python }: + +let + inherit (python.pkgs) buildPythonApplication fetchPypi requests; +in +buildPythonApplication rec { + name = "${pname}-${version}"; + pname = "tzupdate"; + version = "1.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1wj2r1wirnn5kllaasdldimvp3cc3w7w890iqrjksz5wwjbnj8pk"; + }; + + 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; + }; +} |