1 { lib, fetchFromGitHub, makeWrapper, buildGoModule, wireshark-cli }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-qq7BDGprRkWKRMJiVnqPeTwtHd3tea9dPE8RIPL2YVI=";
14 nativeBuildInputs = [ makeWrapper ];
15 buildInputs = [ wireshark-cli ];
17 vendorSha256 = "sha256-C9XOiNjo+TZ+erdnypRhhfpbuBhB3yEqNpbtwjEv14g=";
22 wrapProgram $out/bin/termshark --prefix PATH : ${lib.makeBinPath [ wireshark-cli ]}
26 "-X github.com/gcla/termshark.Version=${version}"
30 homepage = "https://termshark.io/";
31 description = "A terminal UI for wireshark-cli, inspired by Wireshark";
32 license = licenses.mit;
33 maintainers = with maintainers; [ winpat ];