nixpkgs/pkgs/applications/networking/nali/default.nix

24 lines
611 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "nali";
version = "0.3.2";
src = fetchFromGitHub {
owner = "zu1k";
repo = "nali";
rev = "v${version}";
sha256 = "sha256-iRLoUBA+Kzv1/LZQ8HCvR79K1riYErxEWhB0OmvFy2g=";
};
vendorSha256 = "sha256-0u6n53hL2+GvqbYpAKN54n7uiTHSsgyjedt20nT1yRc=";
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;
maintainers = with maintainers; [ diffumist ];
};
}