Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8bcad60b8f73
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0750561e00fb
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 31, 2020

  1. tzupdate: 1.5.0 -> 2.0.0, use python3

    Jonathan Ringer committed Jan 31, 2020
    Copy the full SHA
    0750561 View commit details
Showing with 6 additions and 6 deletions.
  1. +6 −6 pkgs/applications/misc/tzupdate/default.nix
12 changes: 6 additions & 6 deletions pkgs/applications/misc/tzupdate/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};