biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / networking / checkip / default.nix
blob9ef38a197efff1cb6d18ca76a0d7cfa08becf3f1
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "checkip";
8   version = "0.47.5";
10   src = fetchFromGitHub {
11     owner = "jreisinger";
12     repo = pname;
13     rev = "refs/tags/v${version}";
14     hash = "sha256-iAMSNz5TDSId0gBm982hFkM+JR4naEREXKS7mi6z5dw=";
15   };
17   vendorHash = "sha256-awqaDEdWILm8RcQ8hrtJFMTJQA5TzGZhiBTMfexmtA0=";
19   ldflags = [
20     "-w"
21     "-s"
22   ];
24   # Requires network
25   doCheck = false;
27   meta = with lib; {
28     description = "CLI tool that checks an IP address using various public services";
29     homepage = "https://github.com/jreisinger/checkip";
30     changelog = "https://github.com/jreisinger/checkip/releases/tag/v${version}";
31     license = licenses.asl20;
32     maintainers = with maintainers; [ fab ];
33     mainProgram = "checkip";
34   };