1
0
Fork 0

headscale-ui: init
All checks were successful
Build / build-amd64-linux (push) Successful in 6m6s
Build / build-arm64-linux (push) Successful in 6m6s

This commit is contained in:
Daniel Kempkens 2023-09-21 16:31:45 +02:00
parent 02b5aa34f5
commit 1845949793
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
3 changed files with 33 additions and 0 deletions

View file

@ -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'

View file

@ -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
View 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" ];
};
}