nixpkgs/pkgs/tools/networking/rshijack/default.nix

24 lines
593 B
Nix
Raw Normal View History

2020-04-15 07:08:47 +01:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "rshijack";
2021-06-21 18:02:28 +01:00
version = "0.4.0";
2020-04-15 07:08:47 +01:00
src = fetchFromGitHub {
owner = "kpcyrd";
repo = pname;
rev = "v${version}";
2021-06-21 18:02:28 +01:00
sha256 = "sha256-jpiwbjsYsb5scFbjtv2eTv6oo0HWWTYLpnpTZ8DEqb0=";
2020-04-15 07:08:47 +01:00
};
2021-06-21 18:02:28 +01:00
cargoSha256 = "sha256-biHDnLu7OiYpnwtmayk2m6QYvX51YUVJH2FGP4qo14Q=";
2020-04-15 07:08:47 +01:00
meta = with lib; {
description = "TCP connection hijacker";
homepage = "https://github.com/kpcyrd/rshijack";
license = licenses.gpl3;
maintainers = with maintainers; [ xrelkd ];
2021-03-19 06:20:15 +00:00
platforms = platforms.unix;
2020-04-15 07:08:47 +01:00
};
}