tun2proxy: init at 0.5.4 (#351202)

This commit is contained in:
Aleksana
2024-10-27 13:58:56 +08:00
committed by GitHub
2 changed files with 1975 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+31
View File
@@ -0,0 +1,31 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "tun2proxy";
version = "0.5.4";
src = fetchFromGitHub {
owner = "tun2proxy";
repo = "tun2proxy";
rev = "v${version}";
hash = "sha256-EeSXEPg4TxbjQXoM2jx8T9+VOT7VndBnxhy7pwwQ8Kk=";
};
cargoHash = "sha256-WwCUSnXSlSrO+YfqpZlC9WWsX/pM6ixYlqU1pZY4e5o=";
cargoPatches = [
./Cargo.lock.patch
];
meta = {
homepage = "https://github.com/tun2proxy/tun2proxy";
description = "Tunnel (TUN) interface for SOCKS and HTTP proxies";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
mainProgram = "tun2proxy-bin";
maintainers = with lib.maintainers; [ mksafavi ];
};
}