8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
16 sha256 = "sha256-GVIRCMeuuhUA8lqQ1oI/Xcuf90QIlwhqYeU+HhbGWXQ=";
19 cargoHash = "sha256-TRfr4riMzR/MbsV2RiQNlPoPLhHK5EScNBCeyyamfgE=";
21 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
26 description = "Cross-platform, user-space WireGuard port-forwarder that requires no root-access or system network configurations";
27 homepage = "https://github.com/aramperes/onetun";
28 license = licenses.mit;
29 maintainers = with maintainers; [ dit7ya ];
30 mainProgram = "onetun";