2021-12-06 16:07:01 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nali";
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "0.7.1";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zu1k";
|
|
|
|
repo = "nali";
|
|
|
|
rev = "v${version}";
|
2023-02-09 11:40:11 +00:00
|
|
|
sha256 = "sha256-ZJnQiTcfvxHFgRNytQANs/lF4hy0S0cXOy8IuGECYi0=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
vendorHash = "sha256-TLij88IksL0+pARKVhEhPg6qUPAXMlL2DWJk4ynahUs=";
|
2021-12-06 16:07:01 +00:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An offline tool for querying IP geographic information and CDN provider";
|
|
|
|
homepage = "https://github.com/zu1k/nali";
|
|
|
|
license = licenses.mit;
|
2022-06-26 10:26:21 +00:00
|
|
|
maintainers = with maintainers; [ diffumist xyenon ];
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
}
|