nixpkgs/pkgs/tools/networking/ipinfo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
666 B
Nix
Raw Normal View History

2021-05-14 13:27:13 +03:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ipinfo";
2023-02-07 12:16:11 +03:00
version = "2.10.1";
2021-05-14 13:27:13 +03:00
src = fetchFromGitHub {
owner = pname;
repo = "cli";
2023-02-07 12:16:11 +03:00
rev = "refs/tags/${pname}-${version}";
hash = "sha256-/CW+CmtKc96tVEh5cB6x+/Hb4WnbVi+3AZ0CEao0NE4=";
2021-05-14 13:27:13 +03:00
};
vendorSha256 = null;
2021-06-10 21:11:15 +03:00
# Tests require network access
doCheck = false;
2021-05-14 13:27:13 +03:00
meta = with lib; {
description = "Command Line Interface for the IPinfo API";
homepage = "https://github.com/ipinfo/cli";
2023-02-07 12:16:11 +03:00
changelog = "https://github.com/ipinfo/cli/releases/tag/ipinfo-${version}";
2021-05-14 13:27:13 +03:00
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}