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

29 lines
578 B
Nix
Raw Normal View History

2021-05-14 12:27:13 +02:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ipinfo";
2021-08-19 17:59:51 +02:00
version = "2.1.1";
2021-05-14 12:27:13 +02:00
src = fetchFromGitHub {
owner = pname;
repo = "cli";
rev = "${pname}-${version}";
2021-08-19 17:59:51 +02:00
sha256 = "15pwx94n4qi02r3ppqkpnkikpnbqmr8rrn9gmkbjy2vbdi147qwl";
2021-05-14 12:27:13 +02:00
};
vendorSha256 = null;
2021-06-10 20:11:15 +02:00
# Tests require network access
doCheck = false;
2021-05-14 12:27:13 +02: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 ];
};
}