11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
19 hash = "sha256-v7GO+d4b0N3heN10+WSUJEpcShKmx4BPR1FyZoELWzc=";
22 useFetchCargoVendor = true;
23 cargoHash = "sha256-Psu47S39/46ksv7YUU/Ppq3IB70tL2D5ZjaPdpOrrdM=";
33 LD_LIBRARY_PATH = lib.makeLibraryPath [
38 doInstallCheck = true;
39 installCheckPhase = ''
40 if [[ "$(${expect}/bin/unbuffer "$out/bin/${pname}" --help 2> /dev/null | strings | grep ${version} | tr -d '\n')" == " ${version}" ]]; then
41 echo '${pname} smoke check passed'
43 echo '${pname} smoke check failed'
49 description = "Listen to your network traffic";
51 Employ your built-in wetware pattern recognition and
52 signal processing facilities to understand your network traffic.
54 homepage = "https://github.com/vvilhonen/nethoscope";
55 license = licenses.isc;
56 maintainers = with maintainers; [ _0x4A6F ];
57 platforms = platforms.linux;
58 mainProgram = "nethoscope";