2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildNpmPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "netbird-dashboard";
|
|
|
|
version = "2.3.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "netbirdio";
|
|
|
|
repo = "dashboard";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-4aZ7WGLhjpTHOggJ+sRdln0YOG3jf7TKT9/bH/n3LmQ=";
|
|
|
|
};
|
|
|
|
|
|
|
|
npmDepsHash = "sha256-ts3UuThIMf+wwSr3DpZ+k1i9RnHi/ltvhD/7lomVxQk=";
|
|
|
|
npmFlags = [ "--legacy-peer-deps" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
cp -R out $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
env = {
|
|
|
|
CYPRESS_INSTALL_BINARY = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "NetBird Management Service Web UI Panel";
|
|
|
|
homepage = "https://github.com/netbirdio/dashboard";
|
|
|
|
license = licenses.bsd3;
|
2024-06-24 18:47:55 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
}
|