nixpkgs/pkgs/applications/networking/netmaker/default.nix

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

45 lines
928 B
Nix
Raw Normal View History

{ buildGoModule
, fetchFromGitHub
, lib
, libglvnd
, pkg-config
, subPackages ? ["." "netclient"]
, xorg
}:
2022-12-26 05:23:03 +00:00
buildGoModule rec {
pname = "netmaker";
2024-11-08 19:42:07 +00:00
version = "0.26.0";
2022-12-26 05:23:03 +00:00
src = fetchFromGitHub {
owner = "gravitl";
repo = pname;
rev = "v${version}";
2024-11-08 19:42:07 +00:00
hash = "sha256-f6R7Dc5M3MUjsCXvQAqamU9FFuqYEZoxYKwKhk4ilPc=";
2022-12-26 05:23:03 +00:00
};
2024-11-08 19:42:07 +00:00
vendorHash = "sha256-g9JyIuqYJZK47xQYM0+d1hcHcNBGLH3lW60hI6UkD84=";
2022-12-26 05:23:03 +00:00
inherit subPackages;
2022-12-26 05:23:03 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libglvnd
xorg.libX11
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXrandr
];
meta = with lib; {
description = "WireGuard automation from homelab to enterprise";
homepage = "https://netmaker.io";
changelog = "https://github.com/gravitl/netmaker/-/releases/v${version}";
2023-11-20 15:30:39 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ urandom qjoly ];
2023-11-27 01:17:53 +00:00
mainProgram = "netmaker";
2022-12-26 05:23:03 +00:00
};
}