netclient: init at 0.21.0
This commit is contained in:
parent
25722bf5ba
commit
202f059e7d
34
pkgs/by-name/ne/netclient/package.nix
Normal file
34
pkgs/by-name/ne/netclient/package.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, libX11
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "netclient";
|
||||
version = "0.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gravitl";
|
||||
repo = "netclient";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-68/BmVoAFaIg4vgjzhedSBqm6H9VDu3M7JemfPEcpjQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-CsW4tW6+INw93A7uXtHeVnxRrE5unHXhm2SOmQkJwYA=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa
|
||||
++ lib.optional stdenv.isLinux libX11;
|
||||
|
||||
hardeningEnabled = [ "pie" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Automated WireGuard® Management Client";
|
||||
homepage = "https://netmaker.io";
|
||||
changelog = "https://github.com/gravitl/netclient/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ wexder ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user