diff --git a/pkgs/servers/wesher/default.nix b/pkgs/servers/wesher/default.nix new file mode 100644 index 000000000000..d044654f67e1 --- /dev/null +++ b/pkgs/servers/wesher/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "wesher"; + version = "0.2.6"; + + src = fetchFromGitHub { + owner = "costela"; + repo = "wesher"; + rev = "v${version}"; + sha256 = "sha256-EIajvcBhS5G9dJzRgXhnD1QKOAhmzngdyCU4L7itT8U="; + }; + + vendorSha256 = "sha256-BZzhBC4C0OoAxUEDROkggCQF35C9Z4+0/Jk0ZD8Hz1s="; + + ldflags = [ + "-s" "-w" "-X main.version=${version}" + ]; + + meta = with lib; { + description = "Wireguard overlay mesh network manager"; + homepage = "https://github.com/costela/wesher"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ tylerjl ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d08b09c37e3d..0d287bc93816 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24502,6 +24502,8 @@ with pkgs; webmetro = callPackage ../servers/webmetro { }; + wesher = callPackage ../servers/wesher { }; + wishlist = callPackage ../servers/wishlist { }; wsdd = callPackage ../servers/wsdd { };