Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
789 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
buildGoModule,
fetchFromGitHub,
lib,
libX11,
stdenv,
}:
buildGoModule rec {
pname = "netclient";
version = "1.1.0";
src = fetchFromGitHub {
owner = "gravitl";
repo = "netclient";
rev = "v${version}";
hash = "sha256-gQvMT7hyh1yF/cS8+fXI4en1lj3dXyZ8/3LxrFwJos0=";
};
vendorHash = "sha256-OzIp6tVVVh4xWuzaGI4FasCz5dMZQmRxeLqZhg/AgN0=";
buildInputs = lib.optional stdenv.hostPlatform.isLinux libX11;
hardeningEnabled = [ "pie" ];
meta = {
description = "Automated WireGuard® Management Client";
mainProgram = "netclient";
homepage = "https://netmaker.io";
changelog = "https://github.com/gravitl/netclient/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ wexder ];
};
}