tun2proxy: init at 0.5.4

This commit is contained in:
mksafavi 2024-10-25 17:16:52 +03:30
parent db11f98934
commit 30d5bb921f
2 changed files with 1975 additions and 0 deletions

File diff suppressed because it is too large Load Diff

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 ];
};
}