3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
25 lines
525 B
Nix
25 lines
525 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ipinfo";
|
|
version = "1.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = "cli";
|
|
rev = "${pname}-${version}";
|
|
sha256 = "1j50bbq7skbh1pffkmrbs1cyz2x22bniwcdw27rjzmvjixs4wj6h";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
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 ];
|
|
};
|
|
}
|