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

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

29 lines
577 B
Nix
Raw Normal View History

2021-05-14 13:27:13 +03:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ipinfo";
2022-03-30 23:23:04 +03:00
version = "2.8.0";
2021-05-14 13:27:13 +03:00
src = fetchFromGitHub {
owner = pname;
repo = "cli";
rev = "${pname}-${version}";
2022-03-30 23:23:04 +03:00
sha256 = "sha256-hvn50sn1UHkC2K0U5beRAYkAe8y/5sYH7Xed3atXzDo=";
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";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}