bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
32 lines
777 B
Nix
32 lines
777 B
Nix
{ fetchFromGitHub
|
|
, rustPlatform
|
|
, lib
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "wstunnel";
|
|
version = "9.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "erebe";
|
|
repo = "wstunnel";
|
|
rev = "v${version}";
|
|
hash = "sha256-0r+8C8Gf3/s3opzplzc22d9VVp39FtBq1bYkxlmtqjg=";
|
|
};
|
|
|
|
cargoHash = "sha256-hHVxa7Ihmuuf26ZSzGmrHA2RczhzXtse3h1M4cNCvhw=";
|
|
|
|
checkFlags = [
|
|
# make use of network connection
|
|
"--skip=tcp::tests::test_proxy_connection"
|
|
];
|
|
|
|
meta = {
|
|
description = "Tunneling program over websocket protocol";
|
|
mainProgram = "wstunnel";
|
|
homepage = "https://github.com/erebe/wstunnel";
|
|
license = with lib.licenses; [ bsd3 ];
|
|
maintainers = with lib.maintainers; [ neverbehave ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|