clan-core/pkgs/zt-tcp-relay/default.nix
Jörg Thalheim e296a3019d
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Successful in 4m23s
re-format with nixfmt
2024-03-17 19:48:49 +01:00

28 lines
675 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage {
pname = "zt-tcp-relay";
version = "unstable-2023-07-11";
src = fetchFromGitHub {
owner = "alexander-akhmetov";
repo = "zt-tcp-relay";
rev = "b8d3a892c60581e938724a1d5dfb0e1884a9fa6f";
hash = "sha256-7ZNWyPf/b4dJqyPQFTBrv2RvY9dDz990CvwcHpaCKSA=";
};
cargoHash = "sha256-IOxWLvA6jqSYqfDZJn9Set/KKFhf03NsNm7Y67paxCQ=";
meta = with lib; {
description = "ZeroTier One TCP relay";
homepage = "https://github.com/alexander-akhmetov/zt-tcp-relay";
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
mainProgram = "zt-tcp-relay";
};
}