nyxexprs/pkgs/headscale-ui/package.nix
NotAShelf a2a9a04d16
Some checks are pending
Build / Find uncached packages (push) Waiting to run
Build / build-uncached (push) Blocked by required conditions
Run Checks / check (NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure) (push) Waiting to run
Run Checks / check (nix run .#alejandra-custom -- -c . -e ./npins) (push) Waiting to run
Run Checks / build (push) Blocked by required conditions
Nix / nix (push) Waiting to run
headscale-ui: 2025.05.22 -> 2025.08.23
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964efb70f4aa7645a3f7ce2ecd3be8c701b
2025-09-13 20:45:11 +03:00

35 lines
896 B
Nix

{
lib,
stdenvNoCC,
fetchzip,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "headscale-ui";
version = "2025.08.23";
src = fetchzip {
# https://github.com/gurucomputing/headscale-ui/releases/download/2025.08.23/headscale-ui.zip
url = "https://github.com/gurucomputing/headscale-ui/releases/download/${finalAttrs.version}/headscale-ui.zip";
hash = "sha256-66c4KC6tJath/A79idp4ypwd3y0VI80mG8/Gj/WwmnY=";
stripRoot = false;
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/
cp -rvf ./* $out/share/
runHook postInstall
'';
meta = {
description = "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];
};
})