diff --git a/pkgs/by-name/et/etherguard/package.nix b/pkgs/by-name/et/etherguard/package.nix new file mode 100644 index 000000000000..fc0d0d3b8dc1 --- /dev/null +++ b/pkgs/by-name/et/etherguard/package.nix @@ -0,0 +1,26 @@ +{ + fetchFromGitHub, + buildGoModule, + lib, +}: +buildGoModule rec { + pname = "etherguard"; + version = "0.3.5-f5"; + src = fetchFromGitHub { + owner = "KusakabeShi"; + repo = "EtherGuard-VPN"; + rev = "v${version}"; + hash = "sha256-67ocXHf+AN3nyPt4636ZJHGRqWSjkpTiDvU5243urBw="; + }; + + vendorHash = "sha256-9+zpQ/AhprMMfC4Om64GfQLgms6eluTOB6DdnSTNOlk="; + + meta = { + mainProgram = "EtherGuard-VPN"; + maintainers = with lib.maintainers; [ xddxdd ]; + description = "Layer 2 version of WireGuard with Floyd Warshall implementation in Go"; + homepage = "https://github.com/KusakabeShi/EtherGuard-VPN"; + license = lib.licenses.mit; + platforms = lib.platforms.linux; + }; +}