nyxexprs/pkgs/headscale-ui/package.nix
NotAShelf 8b9dce36f2
Some checks are pending
Checks / check (NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure) (push) Waiting to run
Checks / check (nix run .#alejandra-custom -- -c . -e ./npins) (push) Waiting to run
Checks / build (push) Blocked by required conditions
treewide: correct version strings in dynamic packages
2024-09-23 12:07:39 +03:00

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];
};
}