Commit Graph

3 Commits

Author SHA1 Message Date
Martin Weinelt
9f03c0e190
buildHomeAssistantComponent: catch invalid requirements
Catch, log and ignore requirement specifiers that cannot be parsed.
2024-07-15 23:54:19 +02:00
Martin Weinelt
01616e5331
buildHomeAssistantComponent: migrate from pname to owner/domain
Also make the attribute name to match the domain name.

This is more in line with the home-assistant custom component ecosystem
and allows additional validation between the derivation and the manifest.

Also, at a later time, this will enable us to check for domain conflicts
at eval time.
2023-12-06 03:55:33 +01:00
Graham Bennett
31e60c2fbb
buildHomeAssistantComponent: init
Builder to package up custom components for Home Assistant.

These packages use `buildPythonPackage` with `format = "other"` and
rely on a custom install phase, that expects a standardized path,
and a custom check phase, that for now verifies python dependencies have
been satisified.

Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
Co-Authored-By: Sandro Jäckel <sandro.jaeckel@gmail.com>
2023-11-10 22:00:35 +01:00