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

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

30 lines
663 B
Nix
Raw Normal View History

2021-05-14 12:27:13 +02:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ipinfo";
2024-03-13 01:36:20 +01:00
version = "3.3.1";
2021-05-14 12:27:13 +02:00
src = fetchFromGitHub {
owner = pname;
repo = "cli";
2023-02-07 10:16:11 +01:00
rev = "refs/tags/${pname}-${version}";
2024-03-13 01:36:20 +01:00
hash = "sha256-sdQdCP2NotrdeqYrSd9c6sExFeuX54I4fxJfEyULPuk=";
2021-05-14 12:27:13 +02:00
};
2023-09-01 04:10:52 +02:00
vendorHash = null;
2021-05-14 12:27:13 +02:00
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";
2023-02-07 10:16:11 +01:00
changelog = "https://github.com/ipinfo/cli/releases/tag/ipinfo-${version}";
2021-05-14 12:27:13 +02:00
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}