nixpkgs/pkgs/applications/misc/tzupdate/default.nix
R. RyanTM 8d21e03c9d tzupdate: 1.3.1 -> 1.4.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/tzupdate/versions
2019-05-13 02:52:38 -07:00

24 lines
560 B
Nix

{ stdenv, python }:
let
inherit (python.pkgs) buildPythonApplication fetchPypi requests;
in
buildPythonApplication rec {
pname = "tzupdate";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "1sc3z2bx2nhnxg82x0jy19pr8lw56chbr90c2lr11w495csqwhz7";
};
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;
};
}