12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
19 rev = "refs/tags/${version}";
20 hash = "sha256-6heC/bHo4IqKNvPjch7AiyWTCZDCv4MZHC7DTEX3U5c=";
23 cargoHash = "sha256-Fr+m4BeYvUOoSkewwdUgpmdNchweeLK7v/tKLEzFOBs=";
26 substituteInPlace src/scripts/mod.rs \
27 --replace-fail 'call_format = "nmap' 'call_format = "${nmap}/bin/nmap'
28 patchShebangs fixtures/.rustscan_scripts/*
31 buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
39 # These tests require network access
40 "--skip=parse_correct_host_addresses"
41 "--skip=parse_hosts_file_and_incorrect_hosts"
42 "--skip=resolver_args_google_dns"
43 "--skip=resolver_default_cloudflare"
47 description = "Faster Nmap Scanning with Rust";
48 homepage = "https://github.com/RustScan/RustScan";
49 changelog = "https://github.com/RustScan/RustScan/releases/tag/${version}";
50 license = licenses.gpl3Only;
51 maintainers = with maintainers; [ figsoda ];
52 mainProgram = "rustscan";