Loading pkgs/servers/home-assistant/stubs.nix +8 −6 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , poetry-core , hatchling , hatch-vcs , home-assistant , python }: buildPythonPackage rec { pname = "homeassistant-stubs"; version = "2024.9.2"; version = "2024.9.3"; pyproject = true; disabled = python.version != home-assistant.python.version; Loading @@ -17,19 +18,20 @@ buildPythonPackage rec { owner = "KapJI"; repo = "homeassistant-stubs"; rev = "refs/tags/${version}"; hash = "sha256-o5bk63yErDOqNlYeGD7nMNuQ2p9rQuRYXlmfIMo8w8k="; hash = "sha256-ohk0Gxq+q7PH/+SRMEu4KFz/xoc/TDeuEzTnMjaYMBU="; }; build-system = [ poetry-core hatchling hatch-vcs home-assistant ]; postPatch = '' # Relax constraint to year and month substituteInPlace pyproject.toml --replace-fail \ 'homeassistant = "${version}"' \ 'homeassistant = "~${lib.versions.majorMinor home-assistant.version}"' 'homeassistant==${version}' \ 'homeassistant~=${lib.versions.majorMinor home-assistant.version}' ''; pythonImportsCheck = [ Loading Loading
pkgs/servers/home-assistant/stubs.nix +8 −6 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , poetry-core , hatchling , hatch-vcs , home-assistant , python }: buildPythonPackage rec { pname = "homeassistant-stubs"; version = "2024.9.2"; version = "2024.9.3"; pyproject = true; disabled = python.version != home-assistant.python.version; Loading @@ -17,19 +18,20 @@ buildPythonPackage rec { owner = "KapJI"; repo = "homeassistant-stubs"; rev = "refs/tags/${version}"; hash = "sha256-o5bk63yErDOqNlYeGD7nMNuQ2p9rQuRYXlmfIMo8w8k="; hash = "sha256-ohk0Gxq+q7PH/+SRMEu4KFz/xoc/TDeuEzTnMjaYMBU="; }; build-system = [ poetry-core hatchling hatch-vcs home-assistant ]; postPatch = '' # Relax constraint to year and month substituteInPlace pyproject.toml --replace-fail \ 'homeassistant = "${version}"' \ 'homeassistant = "~${lib.versions.majorMinor home-assistant.version}"' 'homeassistant==${version}' \ 'homeassistant~=${lib.versions.majorMinor home-assistant.version}' ''; pythonImportsCheck = [ Loading