Merge pull request #185600 from dit7ya/onetun

onetun: init at 0.3.3
This commit is contained in:
Jonas Heinrich 2022-08-23 18:24:52 +02:00 committed by GitHub
commit 8b1c7554b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "onetun";
version = "0.3.3";
src = fetchFromGitHub {
owner = "aramperes";
repo = pname;
rev = "v${version}";
sha256 = "sha256-TYDSAJxWwNF/e42KR9656vrWfIanFMaJKvof0gcZ80U=";
};
cargoSha256 = "sha256-aki3jL+0ETPa/0eMyxuBKdF3K1wM86BZx8FrOkaUAFQ=";
meta = with lib; {
description = "A cross-platform, user-space WireGuard port-forwarder that requires no root-access or system network configurations";
homepage = "https://github.com/aramperes/onetun";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
};
}

View file

@ -9326,6 +9326,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
onetun = callPackage ../tools/networking/onetun { };
opencorsairlink = callPackage ../tools/misc/opencorsairlink { };
openfpgaloader = callPackage ../development/embedded/fpga/openfpgaloader { };