10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
17 rev = "refs/tags/v${version}";
18 hash = "sha256-YfLzR1lHk+0N3YU1XTNxz+KE1S3xaiKJk0zASm6cr1s=";
21 cargoHash = "sha256-UyQXAUPnp32THZJAs/p3bIXZjcXTvjy207QBVLCfkr8=";
29 ] ++ lib.optionals stdenv.isDarwin [
33 __darwinAllowLocalNetworking = true;
35 doCheck = false; # https://github.com/rapiz1/rathole/issues/222
38 description = "Reverse proxy for NAT traversal";
39 homepage = "https://github.com/rapiz1/rathole";
40 changelog = "https://github.com/rapiz1/rathole/releases/tag/v${version}";
41 license = licenses.asl20;
42 maintainers = with maintainers; [ dit7ya ];
43 mainProgram = "rathole";