Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
28 lines
687 B
Nix
28 lines
687 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "onetun";
|
|
version = "0.3.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aramperes";
|
|
repo = "onetun";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-bggBBl2YQUncfOYIDsPgrHPwznCJQOlIOY3bbiZz7Rw=";
|
|
};
|
|
|
|
cargoHash = "sha256-VC7q2ZTdbBmvZ9l70uQz59paFIi8HXp5CPxfQC6cVmk=";
|
|
|
|
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 = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dit7ya ];
|
|
mainProgram = "onetun";
|
|
};
|
|
}
|