home-assistant-custom-lovelace-modules.kiosk-mode: init at 10.0.1 (#494146)

This commit is contained in:
Martin Weinelt
2026-02-25 23:43:13 +00:00
committed by GitHub
2 changed files with 64 additions and 0 deletions
+6
View File
@@ -26308,6 +26308,12 @@
github = "teczito";
githubId = 15378834;
};
teeco123 = {
name = "Kacper Gajko";
email = "kacper.gajko1@icloud.com";
github = "teeco123";
githubId = 116846689;
};
teh = {
email = "tehunger@gmail.com";
github = "teh";
@@ -0,0 +1,58 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
fetchPnpmDeps,
pnpmConfigHook,
pnpm,
nodejs,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "kiosk-mode";
version = "10.0.1";
src = fetchFromGitHub {
owner = "nemesisre";
repo = "kiosk-mode";
tag = "v${finalAttrs.version}";
hash = "sha256-y8ck4Y8tmZkUv35n78u+PRc+i6wF6iuhYbQJ7wQPVqE=";
};
pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs) pname version src;
fetcherVersion = 3;
hash = "sha256-4pTI5d1Mn/GtbjkOAyemxXN2k2rRj8kYS4t2C6OLVSc=";
};
nativeBuildInputs = [
pnpmConfigHook
pnpm
nodejs
];
buildPhase = ''
runHook preBuild
pnpm run build
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p "$out"
cp dist/* "$out"
runHook postInstall
'';
meta = {
description = "Hides the Home Assistant header and/or sidebar";
homepage = "https://github.com/NemesisRE/kiosk-mode";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ teeco123 ];
platforms = lib.platforms.all;
};
})