lol
1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "ipinfo";
8 version = "3.1.2";
9
10 src = fetchFromGitHub {
11 owner = pname;
12 repo = "cli";
13 rev = "refs/tags/${pname}-${version}";
14 hash = "sha256-KCdKfZs1u3ZLaG+Lmod/vV0T0LaW8hs4ReGlVA7A9pA=";
15 };
16
17 vendorHash = null;
18
19 # Tests require network access
20 doCheck = false;
21
22 meta = with lib; {
23 description = "Command Line Interface for the IPinfo API";
24 homepage = "https://github.com/ipinfo/cli";
25 changelog = "https://github.com/ipinfo/cli/releases/tag/ipinfo-${version}";
26 license = with licenses; [ asl20 ];
27 maintainers = with maintainers; [ fab ];
28 };
29}