tzupdate: 1.5.0 -> 2.0.0, use python3
This commit is contained in:
parent
8bcad60b8f
commit
0750561e00
|
@ -1,22 +1,22 @@
|
||||||
{ stdenv, python }:
|
{ stdenv, python3 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (python.pkgs) buildPythonApplication fetchPypi requests;
|
inherit (python3.pkgs) buildPythonApplication fetchPypi requests;
|
||||||
in
|
in
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "tzupdate";
|
pname = "tzupdate";
|
||||||
version = "1.5.0";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "13np40h64bgkcj10qw6f4nb51p47bb20fd6pzxq8xbr645a4d34m";
|
sha256 = "12jvyza9pfhazkzq94nizacknnp32lf7kalrjmpz1z2bqqxhx0fm";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Update timezone information based on geoip.";
|
description = "Update timezone information based on geoip";
|
||||||
homepage = https://github.com/cdown/tzupdate;
|
homepage = "https://github.com/cdown/tzupdate";
|
||||||
maintainers = [ maintainers.michaelpj ];
|
maintainers = [ maintainers.michaelpj ];
|
||||||
license = licenses.unlicense;
|
license = licenses.unlicense;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue