16 stdenv.mkDerivation rec {
20 src = fetchFromGitHub {
23 rev = "refs/tags/v${version}";
24 hash = "sha256-pXPc6cAPqvbECvP3v3Z1Og8jhIhh5zvXomZrxNX6KVI=";
32 install -Dv asn "$out/bin/asn"
34 wrapProgram $out/bin/asn \
35 --prefix PATH : "${lib.makeBinPath [ curl whois bind mtr jq ipcalc grepcidr nmap aha ]}"
39 description = "OSINT command line tool for investigating network data";
41 ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization /
42 IP reputation / IP geolocation / IP fingerprinting / Network recon /
43 lookup API server / Web traceroute server
45 homepage = "https://github.com/nitefood/asn";
46 changelog = "https://github.com/nitefood/asn/releases/tag/v${version}";
47 license = with licenses; [ mit ];
48 maintainers = with maintainers; [ devhell ];