3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/ipinfo/default.nix

29 lines
577 B
Nix
Raw Normal View History

2021-05-14 11:27:13 +01:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ipinfo";
2021-12-28 09:36:53 +00:00
version = "2.7.0";
2021-05-14 11:27:13 +01:00
src = fetchFromGitHub {
owner = pname;
repo = "cli";
rev = "${pname}-${version}";
2021-12-28 09:36:53 +00:00
sha256 = "sha256-5kXFSxdZrlaBX+7R9hlM+40+3KlJ7g8xu4BN2PyxXEc=";
2021-05-14 11:27:13 +01:00
};
vendorSha256 = null;
2021-06-10 19:11:15 +01:00
# Tests require network access
doCheck = false;
2021-05-14 11:27:13 +01:00
meta = with lib; {
description = "Command Line Interface for the IPinfo API";
homepage = "https://github.com/ipinfo/cli";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}