mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-10-03 07:23:32 +00:00
32 lines
791 B
Nix
32 lines
791 B
Nix
{
|
|
stdenvNoCC,
|
|
fetchzip,
|
|
lib,
|
|
}: let
|
|
pname = "headscale-ui";
|
|
version = "2025.03.21";
|
|
in
|
|
stdenvNoCC.mkDerivation {
|
|
inherit pname version;
|
|
src = fetchzip {
|
|
url = "https://github.com/gurucomputing/headscale-ui/releases/download/${version}/headscale-ui.zip";
|
|
sha256 = "sha256-Autk8D9G1Ott2ahbgJ7mGZKDChsSDgfrOhnurNiIdsQ=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
ls -lah
|
|
mkdir -p $out/share
|
|
cp -rvf ./* $out/share
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "A web frontend for the headscale Tailscale-compatible coordination server";
|
|
homepage = "https://github.com/gurucomputing/headscale-ui";
|
|
license = [lib.licenses.bsd3];
|
|
maintainers = with lib.maintainers; [NotAShelf];
|
|
};
|
|
}
|