Skip to content

Commit

Permalink
tzupdate: 1.5.0 -> 2.0.0, use python3
Browse files Browse the repository at this point in the history
  • Loading branch information
jonringer committed Jan 31, 2020
1 parent 8bcad60 commit 0750561
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkgs/applications/misc/tzupdate/default.nix
@@ -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;
};
Expand Down

0 comments on commit 0750561

Please sign in to comment.