9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
23 lines
591 B
Nix
23 lines
591 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rshijack";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kpcyrd";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ys1uiUQbge/eKAog2f0wL9xM+RxuxNlsc8ZceoDJk9s=";
|
|
};
|
|
|
|
cargoHash = "sha256-GkoRgl0jzej8HoD2wojLg71NQcGvQZTtdD4zuvsJa4Y=";
|
|
|
|
meta = with lib; {
|
|
description = "TCP connection hijacker";
|
|
homepage = "https://github.com/kpcyrd/rshijack";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ xrelkd ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|