1 { lib, fetchFromGitHub, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-UyrHMw+3JE4zR+N7rdcTkLP3m4h6txkYa8uG9r7S9ZE=";
14 cargoHash = "sha256-bGGbZ3JXeo6eytiDHrgHOQN3VgfaqtWssz5hY0RZoZ0=";
17 description = "TCP connection hijacker";
18 homepage = "https://github.com/kpcyrd/rshijack";
19 license = licenses.gpl3;
20 maintainers = with maintainers; [ xrelkd ];
21 platforms = platforms.unix;
22 mainProgram = "rshijack";