blob: 16821a0fd79e52e5302da9e3a4e4453626d9faa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
buildGoModule,
fetchFromGitHub,
lib,
libx11,
stdenv,
}:
buildGoModule (finalAttrs: {
pname = "netclient";
version = "1.6.0";
src = fetchFromGitHub {
owner = "gravitl";
repo = "netclient";
rev = "v${finalAttrs.version}";
hash = "sha256-3vljlrWmetQfAwemRsC76e7DqlFVQKxnV1mpx/NtYvc=";
};
vendorHash = "sha256-fnXekqGK1c6pf8UY1F44RYbU+wc9kZJQg3hmRPcBFCE=";
buildInputs = lib.optional stdenv.hostPlatform.isLinux libx11;
meta = {
description = "Automated WireGuard® Management Client";
mainProgram = "netclient";
homepage = "https://netmaker.io";
changelog = "https://github.com/gravitl/netclient/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ wexder ];
};
})
|