7 rustPlatform.buildRustPackage rec {
11 src = fetchFromGitHub {
14 rev = "refs/tags/v${version}";
15 hash = "sha256-LY7vVD85GVFqARYOBDeb4fS6rL2PwPXYXIAJtwm2goo=";
18 cargoHash = "sha256-o/zQjWR9qNs0XVL/dcRiMHgj+8Xvl6vVl/Yw5iLhroI=";
25 homepage = "https://github.com/tun2proxy/tun2proxy";
26 description = "Tunnel (TUN) interface for SOCKS and HTTP proxies";
27 changelog = "https://github.com/tun2proxy/tun2proxy/releases/tag/v${version}";
28 license = lib.licenses.mit;
29 platforms = lib.platforms.linux;
30 mainProgram = "tun2proxy-bin";
31 maintainers = with lib.maintainers; [ mksafavi ];