diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-04-19 11:29:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 11:29:23 -0500 |
commit | 1406d8b314a4159cb5a6468225996a0b91009a0e (patch) | |
tree | 4209b231f921a85c87dc70307ef2494f81a5a4e2 /pkgs/tools/networking | |
parent | 8084edb11c53e3ae36e980e3dfe7ea96d642f6c2 (diff) | |
parent | 07a85c01ac02d157dbad7ae59f1dc355a03d3913 (diff) |
Merge pull request #85343 from xrelkd/add/rshijack
rshijack: init at 0.3.0
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/rshijack/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/networking/rshijack/default.nix b/pkgs/tools/networking/rshijack/default.nix new file mode 100644 index 0000000000000..59558028c01e7 --- /dev/null +++ b/pkgs/tools/networking/rshijack/default.nix @@ -0,0 +1,23 @@ +{ lib, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "rshijack"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "kpcyrd"; + repo = pname; + rev = "v${version}"; + sha256 = "0y01hi3jpfawqlqs8ka0vwfhjw5j5gkhk2nz5m13ns2h27bw20v7"; + }; + + cargoSha256 = "0l1kavacnjvi22l6pawgkqqxnjaizi3pddqkhwjshw4pzzixzvli"; + + meta = with lib; { + description = "TCP connection hijacker"; + homepage = "https://github.com/kpcyrd/rshijack"; + license = licenses.gpl3; + maintainers = with maintainers; [ xrelkd ]; + platforms = platforms.linux; + }; +} |