mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
d328e92f3d
Fixes #207654
40 lines
895 B
Nix
40 lines
895 B
Nix
{ buildGoModule, fetchFromGitHub, installShellFiles, lib, libglvnd, pkg-config, xorg }:
|
|
|
|
buildGoModule rec {
|
|
pname = "netmaker";
|
|
version = "0.17.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gravitl";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-8uxPPhy1/FqPGouqzUxY2lGnO/giqH9bJbAqQ9rZI0g=";
|
|
};
|
|
|
|
vendorHash = "sha256-4LaGwwDu3pKd6I6r/F3isCi9CuFqPGvc5SdVTV34qOI=";
|
|
|
|
subPackages = [
|
|
"."
|
|
"netclient"
|
|
];
|
|
|
|
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}";
|
|
license = licenses.sspl;
|
|
maintainers = with maintainers; [ urandom ];
|
|
};
|
|
}
|