python310Packages.homeassistant-stubs: Limit support
We can only support the stubs on the same version as we build our home-assistant against.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, home-assistant
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -10,6 +11,8 @@ buildPythonPackage rec {
|
||||
version = "2023.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = python.version != home-assistant.python.version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KapJI";
|
||||
repo = "homeassistant-stubs";
|
||||
|
||||
Reference in New Issue
Block a user