From 488a41bcbcd9daa6e20369cf77075d79f52075b7 Mon Sep 17 00:00:00 2001 From: Lan Tian Date: Fri, 22 Nov 2024 22:24:54 -0800 Subject: [PATCH] etherguard: init at 0.3.5-f5 --- pkgs/by-name/et/etherguard/package.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/et/etherguard/package.nix 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; + }; +}