
Diff: https://github.com/projectdiscovery/asnmap/compare/refs/tags/v1.0.4...v1.0.5 Changelog: https://github.com/projectdiscovery/asnmap/releases/tag/v1.0.5
30 lines
735 B
Nix
30 lines
735 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "asnmap";
|
|
version = "1.0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-JdbKFc374U/MjRiLUbVOqb7qeFYpvMevUdis7GDZz3Y=";
|
|
};
|
|
|
|
vendorHash = "sha256-3/R8dhaJnoAsJgD4pqZ7etTXDFZnhW9sbUrnGp4md5o=";
|
|
|
|
# Tests require network access
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Tool to gather network ranges using ASN information";
|
|
homepage = "https://github.com/projectdiscovery/asnmap";
|
|
changelog = "https://github.com/projectdiscovery/asnmap/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|