nixpkgs/pkgs/applications/networking/netmaker/default.nix
Colin Arnott 486132e97c
netmaker-full: init at 0.17.1
We got complaints that netclient is not really netmaker. So like other
monorepo packages, we have split out netmaker to contain just the server
binary, and netmaker-full contains everything in the repo.

Updates #207802
2023-01-06 00:15:11 +00:00

45 lines
911 B
Nix

{ buildGoModule
, fetchFromGitHub
, installShellFiles
, lib
, libglvnd
, pkg-config
, subPackages ? ["." "netclient"]
, 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=";
inherit subPackages;
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 ];
};
}