home-assistant-custom-components.auth_oidc: 0.6.3-alpha -> 0.6.5-alpha; build css from source (#488186)
This commit is contained in:
@@ -2,31 +2,55 @@
|
||||
lib,
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
fetchNpmDeps,
|
||||
aiofiles,
|
||||
bcrypt,
|
||||
jinja2,
|
||||
joserfc,
|
||||
nodejs,
|
||||
npmHooks,
|
||||
python-jose,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "christaangoossens";
|
||||
domain = "auth_oidc";
|
||||
version = "0.6.3-alpha";
|
||||
version = "0.6.5-alpha";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "christiaangoossens";
|
||||
repo = "hass-oidc-auth";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-+R2IIs9MixR8epVpk4QycN8PjOfRITlZ+oUbdPEk2eA=";
|
||||
hash = "sha256-nclrSO6KmPnwXRPuuFwR6iYHsyfqcelPRGERWVJpdyk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
rm custom_components/auth_oidc/static/style.css
|
||||
'';
|
||||
|
||||
env.npmDeps = fetchNpmDeps {
|
||||
name = "${domain}-npm-deps";
|
||||
inherit src;
|
||||
hash = "sha256-i75YeCZVSMFDWzaiDJRTYqQee5I15n9ll0YYX1PXYbA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
npmHooks.npmConfigHook
|
||||
nodejs
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiofiles
|
||||
bcrypt
|
||||
jinja2
|
||||
joserfc
|
||||
python-jose
|
||||
];
|
||||
|
||||
postBuild = ''
|
||||
npm run css
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/christiaangoossens/hass-oidc-auth/releases/tag/v${version}";
|
||||
description = "OpenID Connect authentication provider for Home Assistant";
|
||||
|
||||
Reference in New Issue
Block a user