mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-10-02 06:53:33 +00:00
headscale-ui: lock version
This commit is contained in:
parent
2dbc6cd224
commit
bb3d4a1b1e
1 changed files with 25 additions and 25 deletions
|
@ -2,33 +2,33 @@
|
|||
lib,
|
||||
stdenvNoCC,
|
||||
fetchzip,
|
||||
pins,
|
||||
}: let
|
||||
pin = pins.headscale-ui;
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "headscale-ui";
|
||||
inherit (pin) version;
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "headscale-ui";
|
||||
version = "2025.05.22";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/gurucomputing/headscale-ui/releases/download/${finalAttrs.version}/headscale-ui.zip";
|
||||
sha256 = "sha256-Autk8D9G1Ott2ahbgJ7mGZKDChsSDgfrOhnurNiIdsQ=";
|
||||
};
|
||||
src = fetchzip {
|
||||
url = "https://github.com/gurucomputing/headscale-ui/releases/download/${finalAttrs.version}/headscale-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-qLX8YW5jjy4K4et7dkS0Bvug+k3NVw0m2d2Q0wLE1J4=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
ls -lah
|
||||
mkdir -p $out/share
|
||||
cp -rvf ./* $out/share
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
mkdir -p $out/share/
|
||||
cp -rvf ./* $out/share/
|
||||
|
||||
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];
|
||||
};
|
||||
})
|
||||
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];
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue