Unverified Commit 9e77343b authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python310Packages.homeassistant-stubs: Limit support

We can only support the stubs on the same version as we build our
home-assistant against.
parent 542a7047
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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";