Compare commits

..

No commits in common. "fd1885b7a5ba0c544b6b735fe8f55c3d460de690" and "2dbc6cd22403869e442d703462f7f72fd6b9eadb" have entirely different histories.

2 changed files with 27 additions and 27 deletions

View file

@ -107,8 +107,8 @@
"nixpkgs": { "nixpkgs": {
"type": "Channel", "type": "Channel",
"name": "nixpkgs-unstable", "name": "nixpkgs-unstable",
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre806481.bdc995d3e97c/nixexprs.tar.xz", "url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre806109.3108eaa516ae/nixexprs.tar.xz",
"hash": "1a28r3j3jnfa3qb67ajyzadr8apj091sx3jf7s5yvw7dn1wdd37f" "hash": "1bc540qw17m15pjp11324j8y8wiib8iabb8iig18a66jbp381knx"
}, },
"rat": { "rat": {
"type": "GitRelease", "type": "GitRelease",

View file

@ -2,31 +2,31 @@
lib, lib,
stdenvNoCC, stdenvNoCC,
fetchzip, fetchzip,
}: pins,
}: let
pin = pins.headscale-ui;
in
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "headscale-ui"; pname = "headscale-ui";
version = "2025.05.22"; inherit (pin) version;
src = fetchzip { src = fetchzip {
url = "https://github.com/gurucomputing/headscale-ui/releases/download/${finalAttrs.version}/headscale-${finalAttrs.version}.tar.gz"; url = "https://github.com/gurucomputing/headscale-ui/releases/download/${finalAttrs.version}/headscale-ui.zip";
hash = "sha256-qLX8YW5jjy4K4et7dkS0Bvug+k3NVw0m2d2Q0wLE1J4="; sha256 = "sha256-Autk8D9G1Ott2ahbgJ7mGZKDChsSDgfrOhnurNiIdsQ=";
stripRoot = false;
}; };
dontConfigure = true;
dontBuild = true;
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p $out/share/ ls -lah
cp -rvf ./* $out/share/ mkdir -p $out/share
cp -rvf ./* $out/share
runHook postInstall runHook postInstall
''; '';
meta = { meta = {
description = "Web frontend for the headscale Tailscale-compatible coordination server"; description = "A web frontend for the headscale Tailscale-compatible coordination server";
homepage = "https://github.com/gurucomputing/headscale-ui"; homepage = "https://github.com/gurucomputing/headscale-ui";
license = [lib.licenses.bsd3]; license = [lib.licenses.bsd3];
maintainers = with lib.maintainers; [NotAShelf]; maintainers = with lib.maintainers; [NotAShelf];