biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / networking / rshijack / default.nix
blob181abdf4b603702ccd6e926540534f4a0a3d3548
1 { lib, fetchFromGitHub, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
4   pname = "rshijack";
5   version = "0.5.1";
7   src = fetchFromGitHub {
8     owner = "kpcyrd";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-UyrHMw+3JE4zR+N7rdcTkLP3m4h6txkYa8uG9r7S9ZE=";
12   };
14   cargoHash = "sha256-bGGbZ3JXeo6eytiDHrgHOQN3VgfaqtWssz5hY0RZoZ0=";
16   meta = with lib; {
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";
23   };