From d953eb31af46a8900365823297fbbbee8d649b98 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 9 Dec 2021 21:05:09 +0100 Subject: [PATCH] checkip: 0.2.0 -> 0.16.1 --- pkgs/tools/networking/checkip/default.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/networking/checkip/default.nix b/pkgs/tools/networking/checkip/default.nix index b379a1725de9..6baf1a9a3221 100644 --- a/pkgs/tools/networking/checkip/default.nix +++ b/pkgs/tools/networking/checkip/default.nix @@ -5,21 +5,16 @@ buildGoModule rec { pname = "checkip"; - version = "0.2.2"; + version = "0.16.1"; src = fetchFromGitHub { owner = "jreisinger"; repo = pname; rev = "v${version}"; - sha256 = "065426z4iak72h56qvp1vk86r2vw5rdqy3qi1zbw1l0hnyq83zwq"; + sha256 = "sha256-XIrGza8yMC1lrSXiaEADcft4UkaZ33R6LW4ug0+8sxs="; }; - vendorSha256 = "10hk2wfkpvnavs20q390qgaj1gj10j1fy8vlqb9s9f76gpb130h4"; - - postFixup = '' - # Rename binary - mv $out/bin/cmd $out/bin/${pname} - ''; + vendorSha256 = "sha256-4XA7B0gmFE52VoKiPLsa0urPS7IdzrTBXuU4wZv/Lag="; # Requires network doCheck = false;