From 2625cadf05bf7032c36225978f8bc7eaf1502cbf Mon Sep 17 00:00:00 2001 From: devhell Date: Wed, 13 Mar 2024 15:07:37 +0000 Subject: asn: move to by-name --- pkgs/applications/networking/asn/default.nix | 51 ---------------------------- 1 file changed, 51 deletions(-) delete mode 100644 pkgs/applications/networking/asn/default.nix (limited to 'pkgs/applications') diff --git a/pkgs/applications/networking/asn/default.nix b/pkgs/applications/networking/asn/default.nix deleted file mode 100644 index 6a8ec939cb33..000000000000 --- a/pkgs/applications/networking/asn/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, makeWrapper -, curl -, whois -, bind -, mtr -, jq -, ipcalc -, grepcidr -, nmap -, aha -}: - -stdenv.mkDerivation rec { - pname = "asn"; - version = "0.76.1"; - - src = fetchFromGitHub { - owner = "nitefood"; - repo = "asn"; - rev = "refs/tags/v${version}"; - hash = "sha256-9UDd0tgRKEFC1V1+1s9Ghev0I48L8UR9/YbZKX3F1MU="; - }; - - nativeBuildInputs = [ - makeWrapper - ]; - - installPhase = '' - install -Dv asn "$out/bin/asn" - - wrapProgram $out/bin/asn \ - --prefix PATH : "${lib.makeBinPath [ curl whois bind mtr jq ipcalc grepcidr nmap aha ]}" - ''; - - meta = with lib; { - description = "OSINT command line tool for investigating network data"; - longDescription = '' - ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / - IP reputation / IP geolocation / IP fingerprinting / Network recon / - lookup API server / Web traceroute server - ''; - homepage = "https://github.com/nitefood/asn"; - changelog = "https://github.com/nitefood/asn/releases/tag/v${version}"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ devhell ]; - mainProgram = "asn"; - }; -} -- cgit 1.4.1