depot/third_party/nixpkgs/pkgs/by-name/ws/wstunnel/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

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;
};
}