fix avahi
This commit is contained in:
@@ -1,17 +1,25 @@
|
||||
{
|
||||
lib,
|
||||
namespace,
|
||||
pkgs,
|
||||
home-assistant,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib.trivial) importJSON;
|
||||
inherit (lib.${namespace}) selectVariant mkAllSources;
|
||||
|
||||
home-assistant.python.pkgs.buildPythonPackage rec {
|
||||
versionSpec = importJSON ./version.json;
|
||||
selected = selectVariant versionSpec null null;
|
||||
sources = mkAllSources pkgs selected;
|
||||
version = selected.variables.version;
|
||||
in
|
||||
home-assistant.python.pkgs.buildPythonPackage {
|
||||
pname = "gehomesdk";
|
||||
version = "2026.2.0";
|
||||
inherit version;
|
||||
pyproject = true;
|
||||
|
||||
src = home-assistant.python.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-+BWGkUDKd+9QGbdXuLjmJxLm1xUv0dpIRlPlDkUJ25w=";
|
||||
};
|
||||
src = sources.gehomesdk;
|
||||
|
||||
build-system = with home-assistant.python.pkgs; [ setuptools ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user