tun2proxy: init at 0.5.4
This commit is contained in:
parent
db11f98934
commit
30d5bb921f
1944
pkgs/by-name/tu/tun2proxy/Cargo.lock.patch
Normal file
1944
pkgs/by-name/tu/tun2proxy/Cargo.lock.patch
Normal file
File diff suppressed because it is too large
Load Diff
31
pkgs/by-name/tu/tun2proxy/package.nix
Normal file
31
pkgs/by-name/tu/tun2proxy/package.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user