e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
29 lines
663 B
Nix
29 lines
663 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ipinfo";
|
|
version = "3.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = "cli";
|
|
rev = "refs/tags/${pname}-${version}";
|
|
hash = "sha256-B0Qb6RFBAUBpE1o8GqKQtxpndeHermMlwlWlfIa7rmM=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
# Tests require network access
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Command Line Interface for the IPinfo API";
|
|
homepage = "https://github.com/ipinfo/cli";
|
|
changelog = "https://github.com/ipinfo/cli/releases/tag/ipinfo-${version}";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|