udp-over-tcp: init at 0.4.0

This commit is contained in:
Tim Schumacher
2025-12-06 23:22:13 +01:00
parent 1d99a3398c
commit 20557ba94b
+34
View File
@@ -0,0 +1,34 @@
{
fetchFromGitHub,
lib,
rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "udp-over-tcp";
version = "0.4.0";
src = fetchFromGitHub {
owner = "mullvad";
repo = "udp-over-tcp";
tag = "v${finalAttrs.version}";
hash = "sha256-nlLo5/CpieBuRpQyd0eybfkltZyt4qeiupkbtfL/qWE=";
};
cargoHash = "sha256-s72C+7q56dSwrmkUBy871rF1MvPkhg8780S+dN/ETh0=";
cargoBuildFlags = [
"--bins"
"--features"
"clap"
];
meta = {
homepage = "https://github.com/mullvad/udp-over-tcp";
description = "Proxy UDP traffic over a TCP stream";
license = with lib.licenses; [
asl20
mit
];
maintainers = with lib.maintainers; [ timschumi ];
# No single mainProgram is listed here because tcp2udp and udp2tcp are equally important.
};
})