10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
18 hash = "sha256-v7GO+d4b0N3heN10+WSUJEpcShKmx4BPR1FyZoELWzc=";
21 cargoHash = "sha256-0yLMscmjHeU8dRDzx3kgniCRsekg9ZJWdN13hyqJgDI=";
31 LD_LIBRARY_PATH = lib.makeLibraryPath [
36 doInstallCheck = true;
37 installCheckPhase = ''
38 if [[ "$(${expect}/bin/unbuffer "$out/bin/${pname}" --help 2> /dev/null | strings | grep ${version} | tr -d '\n')" == " ${version}" ]]; then
39 echo '${pname} smoke check passed'
41 echo '${pname} smoke check failed'
47 description = "Listen to your network traffic";
49 Employ your built-in wetware pattern recognition and
50 signal processing facilities to understand your network traffic.
52 homepage = "https://github.com/vvilhonen/nethoscope";
53 license = licenses.isc;
54 maintainers = with maintainers; [ _0x4A6F ];
55 platforms = platforms.linux;
56 mainProgram = "nethoscope";