Files
nixpkgs/pkgs/applications/networking/netmaker/default.nix
2026-06-20 17:14:09 +00:00

55 lines
981 B
Nix

{
buildGoModule,
fetchFromGitHub,
lib,
libglvnd,
pkg-config,
subPackages ? [
"."
"netclient"
],
libxrandr,
libxi,
libxinerama,
libxcursor,
libx11,
}:
buildGoModule rec {
pname = "netmaker";
version = "1.6.0";
src = fetchFromGitHub {
owner = "gravitl";
repo = "netmaker";
rev = "v${version}";
hash = "sha256-Zt6bQgmummfaC0cbW2GgSlu2TatHHrd8UEY/CZsJoDU=";
};
vendorHash = "sha256-m+z0bzE/XMb8YHX4Q6UtPfeG0B2OSp9azMhVX51ECgM=";
inherit subPackages;
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libglvnd
libx11
libxcursor
libxi
libxinerama
libxrandr
];
meta = {
description = "WireGuard automation from homelab to enterprise";
homepage = "https://netmaker.io";
changelog = "https://github.com/gravitl/netmaker/-/releases/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
qjoly
];
mainProgram = "netmaker";
};
}