Merge pull request #207802 from urandom2/netmaker

Fixes https://github.com/NixOS/nixpkgs/issues/207654
This commit is contained in:
Sandro 2023-01-03 23:25:34 +01:00 committed by GitHub
commit d5b36bba0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ 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 ];
};
}

View file

@ -31012,6 +31012,8 @@ with pkgs;
nerd-font-patcher = callPackage ../applications/misc/nerd-font-patcher { };
netmaker = callPackage ../applications/networking/netmaker {};
newsflash = callPackage ../applications/networking/feedreaders/newsflash {
webkitgtk = webkitgtk_5_0;
};