2021-11-10 08:27:32 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nali";
|
2022-10-21 23:08:51 +00:00
|
|
|
version = "0.7.0";
|
2021-11-10 08:27:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zu1k";
|
|
|
|
repo = "nali";
|
|
|
|
rev = "v${version}";
|
2022-10-21 23:08:51 +00:00
|
|
|
sha256 = "sha256-NHTS9YajVjyAjSEQxMqyyY2Hwd30pjnIthZ+1jroqTE=";
|
2021-11-10 08:27:32 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 23:08:51 +00:00
|
|
|
vendorSha256 = "sha256-1sXG/xEzPVN1aRCsYqUee9aidT+ognZszOC7SR8YArw=";
|
2021-11-10 08:27:32 +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-20 05:21:28 +00:00
|
|
|
maintainers = with maintainers; [ diffumist xyenon ];
|
2021-11-10 08:27:32 +00:00
|
|
|
};
|
|
|
|
}
|