2021-05-14 10:27:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ipinfo";
|
2021-05-21 19:59:46 +00:00
|
|
|
version = "1.1.5";
|
2021-05-14 10:27:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = "cli";
|
|
|
|
rev = "${pname}-${version}";
|
2021-05-21 19:59:46 +00:00
|
|
|
sha256 = "16i5vmx39j7l5mhs28niapki9530nsbw6xik8rsky55v9i5pr72d";
|
2021-05-14 10:27:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|