onetun: 0.3.7 -> 0.3.10 (#360935)

This commit is contained in:
Weijia Wang
2024-12-18 20:58:04 +01:00
committed by GitHub
2 changed files with 11 additions and 18 deletions
+10 -15
View File
@@ -1,32 +1,27 @@
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, Security
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "onetun";
version = "0.3.7";
version = "0.3.10";
src = fetchFromGitHub {
owner = "aramperes";
repo = pname;
rev = "v${version}";
sha256 = "sha256-GVIRCMeuuhUA8lqQ1oI/Xcuf90QIlwhqYeU+HhbGWXQ=";
sha256 = "sha256-bggBBl2YQUncfOYIDsPgrHPwznCJQOlIOY3bbiZz7Rw=";
};
cargoHash = "sha256-TRfr4riMzR/MbsV2RiQNlPoPLhHK5EScNBCeyyamfgE=";
cargoHash = "sha256-Il/jwaQ4nu93R1fC3r6haSSF5ATSrgkv4uZmAA/RZBI=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Security
];
meta = with lib; {
meta = {
description = "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 ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dit7ya ];
mainProgram = "onetun";
};
}
+1 -3
View File
@@ -4565,9 +4565,7 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
onetun = callPackage ../tools/networking/onetun {
inherit (darwin.apple_sdk.frameworks) Security;
};
onetun = callPackage ../tools/networking/onetun { };
openobserve = darwin.apple_sdk_11_0.callPackage ../servers/monitoring/openobserve {
apple_sdk = darwin.apple_sdk_11_0;