mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
checkip: 0.2.0 -> 0.16.1
This commit is contained in:
parent
61727e0e57
commit
d953eb31af
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user