3
0
Fork 0
forked from mirrors/nixpkgs

checkip: 0.2.0 -> 0.16.1

This commit is contained in:
Fabian Affolter 2021-12-09 21:05:09 +01:00
parent 61727e0e57
commit d953eb31af

View file

@ -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;