headscale-ui: init
This commit is contained in:
parent
02b5aa34f5
commit
1845949793
3 changed files with 33 additions and 0 deletions
|
@ -26,6 +26,7 @@ jobs:
|
||||||
token: ${{ secrets.ATTIC_TOKEN }}
|
token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
- run: nix build '.#anonymous-overflow'
|
- run: nix build '.#anonymous-overflow'
|
||||||
- run: nix build '.#fennel-ls'
|
- run: nix build '.#fennel-ls'
|
||||||
|
- run: nix build '.#headscale-ui'
|
||||||
- run: nix build '.#lexical'
|
- run: nix build '.#lexical'
|
||||||
- run: nix build '.#nitter-unstable'
|
- run: nix build '.#nitter-unstable'
|
||||||
- run: nix build '.#neovim-nightly'
|
- run: nix build '.#neovim-nightly'
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
{
|
{
|
||||||
anonymous-overflow = import ./packages/anonymous-overflow.nix { inherit pkgs lib; };
|
anonymous-overflow = import ./packages/anonymous-overflow.nix { inherit pkgs lib; };
|
||||||
fennel-ls = import ./packages/fennel-ls.nix { inherit pkgs lib; };
|
fennel-ls = import ./packages/fennel-ls.nix { inherit pkgs lib; };
|
||||||
|
headscale-ui = import ./packages/headscale-ui.nix { inherit pkgs lib; };
|
||||||
lexical = import ./packages/lexical.nix { inherit pkgs lib; };
|
lexical = import ./packages/lexical.nix { inherit pkgs lib; };
|
||||||
nitter-unstable = import ./packages/nitter-unstable.nix { inherit pkgs lib; };
|
nitter-unstable = import ./packages/nitter-unstable.nix { inherit pkgs lib; };
|
||||||
q = import ./packages/q.nix { inherit pkgs lib; };
|
q = import ./packages/q.nix { inherit pkgs lib; };
|
||||||
|
|
31
packages/headscale-ui.nix
Normal file
31
packages/headscale-ui.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ pkgs, lib }:
|
||||||
|
|
||||||
|
pkgs.stdenv.mkDerivation rec {
|
||||||
|
pname = "headscale-ui";
|
||||||
|
version = "2023.01.30-beta-1";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://github.com/gurucomputing/${pname}/releases/download/${version}/headscale-ui.zip";
|
||||||
|
sha256 = "sha256-6SUgtSTFvJWNdsWz6AiOfUM9p33+8EhDwyqHX7O2+NQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with pkgs; [ unzip ];
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
unzip $src
|
||||||
|
'';
|
||||||
|
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/
|
||||||
|
cp -r web/ $out/share/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A web frontend for the headscale Tailscale-compatible coordination server";
|
||||||
|
homepage = "https://github.com/gurucomputing/headscale-ui";
|
||||||
|
license = [ licenses.bsd3 ];
|
||||||
|
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue