Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
741 B
Nix
38 lines
741 B
Nix
{
|
|
lib,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "netbird-dashboard";
|
|
version = "2.19.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "netbirdio";
|
|
repo = "dashboard";
|
|
rev = "v${version}";
|
|
hash = "sha256-3rHNk/rc0j5mWF2jbrMOtFrDkosph1YWnFoh1lLHTPs=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-pC4Vvkb+NAGyhd090LAeGZTLVGufnC9LylJGQt8aEZg=";
|
|
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;
|
|
maintainers = with maintainers; [
|
|
patrickdag
|
|
];
|
|
};
|
|
}
|