1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00

tzupdate: 1.5.0 -> 2.0.0, use python3

This commit is contained in:
Jonathan Ringer 2020-01-30 22:16:55 -08:00 committed by Jon
parent 8bcad60b8f
commit 0750561e00

View file

@ -1,22 +1,22 @@
{ stdenv, python }:
{ stdenv, python3 }:
let
inherit (python.pkgs) buildPythonApplication fetchPypi requests;
inherit (python3.pkgs) buildPythonApplication fetchPypi requests;
in
buildPythonApplication rec {
pname = "tzupdate";
version = "1.5.0";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "13np40h64bgkcj10qw6f4nb51p47bb20fd6pzxq8xbr645a4d34m";
sha256 = "12jvyza9pfhazkzq94nizacknnp32lf7kalrjmpz1z2bqqxhx0fm";
};
propagatedBuildInputs = [ requests ];
meta = with stdenv.lib; {
description = "Update timezone information based on geoip.";
homepage = https://github.com/cdown/tzupdate;
description = "Update timezone information based on geoip";
homepage = "https://github.com/cdown/tzupdate";
maintainers = [ maintainers.michaelpj ];
license = licenses.unlicense;
};