mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2024-11-24 22:26:46 +00:00
30 lines
789 B
Nix
30 lines
789 B
Nix
{
|
|
stdenvNoCC,
|
|
fetchzip,
|
|
lib,
|
|
}: let
|
|
pname = "headscale-ui";
|
|
version = "0-unstable-2024-02-24";
|
|
in
|
|
stdenvNoCC.mkDerivation {
|
|
inherit pname version;
|
|
src = fetchzip {
|
|
url = "https://github.com/gurucomputing/headscale-ui/releases/download/2024.02.24-beta1/headscale-ui.zip";
|
|
sha256 = "sha256-HHzxGlAtVXs0jfNJ/khbNA/aQsGKvii1Hm+8hlJQYYY=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/share
|
|
cp -r ./* $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];
|
|
};
|
|
}
|