nixpkgs-suyu/pkgs/applications/misc/tzupdate/default.nix
R. RyanTM 07748ae5c8 tzupdate: 1.2.0 -> 1.3.1
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
2018-11-08 12:20:39 -08:00

23 lines
560 B
Nix

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