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:
Martin Weinelt
2023-03-02 22:12:01 +00:00
parent 542a704785
commit 9e77343b0a
+3
View File
@@ -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";