forked from DGNum/infrastructure
31 lines
684 B
Nix
31 lines
684 B
Nix
{
|
|
lib,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "netbird-dashboard";
|
|
version = "1.17.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "netbirdio";
|
|
repo = "dashboard";
|
|
rev = "v${version}";
|
|
hash = "sha256-MDxN/58dv6OqPYnNgDVZ+YRzfw2dER7x8mEWe14rQ40=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-x7YyzBPAiXyxaIcAvUrXBexYaw0TaYnKgQKT3KadW8w=";
|
|
npmFlags = [ "--legacy-peer-deps" ];
|
|
|
|
installPhase = ''
|
|
cp -R build $out
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "NetBird Management Service Web UI Panel";
|
|
homepage = "https://github.com/netbirdio/dashboard";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ thubrecht ];
|
|
};
|
|
}
|