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