Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
683 B
Nix
Raw Normal View History

2024-10-25 17:16:52 +03:30
{
lib,
rustPlatform,
2025-01-07 19:09:17 +00:00
fetchCrate,
2024-10-25 17:16:52 +03:30
}:
2024-10-27 17:40:17 +01:00
2024-10-25 17:16:52 +03:30
rustPlatform.buildRustPackage rec {
pname = "tun2proxy";
2025-03-14 16:11:40 +00:00
version = "0.7.6";
2024-10-25 17:16:52 +03:30
2025-01-07 19:09:17 +00:00
src = fetchCrate {
pname = "tun2proxy";
inherit version;
2025-03-14 16:11:40 +00:00
hash = "sha256-hAZZ9pSoIgAb4JYhi9mGHMD4CIjnxVJU00PDsQe6OLY=";
2024-10-25 17:16:52 +03:30
};
2025-03-14 16:11:40 +00:00
cargoHash = "sha256-A/hBV/koIR7gLIZVCoaRk5DI11NZ5HI+xn6qkU+fxaI=";
2024-10-25 17:16:52 +03:30
meta = {
homepage = "https://github.com/tun2proxy/tun2proxy";
description = "Tunnel (TUN) interface for SOCKS and HTTP proxies";
2024-10-27 17:40:17 +01:00
changelog = "https://github.com/tun2proxy/tun2proxy/releases/tag/v${version}";
2024-10-25 17:16:52 +03:30
license = lib.licenses.mit;
mainProgram = "tun2proxy-bin";
maintainers = with lib.maintainers; [ mksafavi ];
};
}