nixpkgs-suyu/pkgs/applications/misc/tzupdate/default.nix
R. RyanTM 25d226598d tzupdate: 1.4.0 -> 1.5.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-08-06 00:45:17 -07:00

23 lines
560 B
Nix

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