tun2proxy: 0.6.0 -> 0.7.3 (#368907)

This commit is contained in:
Weijia Wang
2025-02-21 13:15:03 +01:00
committed by GitHub
2 changed files with 7 additions and 1957 deletions
File diff suppressed because it is too large Load Diff
+7 -13
View File
@@ -1,33 +1,27 @@
{
lib,
rustPlatform,
fetchFromGitHub,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
pname = "tun2proxy";
version = "0.6.0";
version = "0.7.4";
src = fetchFromGitHub {
owner = "tun2proxy";
repo = "tun2proxy";
tag = "v${version}";
hash = "sha256-LY7vVD85GVFqARYOBDeb4fS6rL2PwPXYXIAJtwm2goo=";
src = fetchCrate {
pname = "tun2proxy";
inherit version;
hash = "sha256-ccFaFeTqgkDYuMssxOaWHW2oWgbdacyj6k8qF42OzM8=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-jlU6zR1W4rRNiU2mMEUzlqK3WqwRd0YncpN01EnzStw=";
cargoPatches = [
./Cargo.lock.patch
];
cargoHash = "sha256-XqiSVndG6Ep8wifgkAILBbKnljeZNehSL8UTf5I9vEU=";
meta = {
homepage = "https://github.com/tun2proxy/tun2proxy";
description = "Tunnel (TUN) interface for SOCKS and HTTP proxies";
changelog = "https://github.com/tun2proxy/tun2proxy/releases/tag/v${version}";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
mainProgram = "tun2proxy-bin";
maintainers = with lib.maintainers; [ mksafavi ];
};