Unverified Commit a8448933 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python310Packages.homeassistant-stubs: init at 2023.2.5

Typing hints for Home Assistant core. Freshly generated out of
our home-assistant package.
parent d4a84529
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, home-assistant
}:

buildPythonPackage rec {
  pname = "homeassistant-stubs";
  version = "2023.2.5";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "KapJI";
    repo = "homeassistant-stubs";
    rev = "refs/tags/${version}";
    hash = "sha256-MQYk4DWvmqtPl00L1c00JclKkTZe9EYMrm/LucUHBE0=";
  };

  nativeBuildInputs = [
    poetry-core
    home-assistant
  ];

  pythonImportsCheck = [
    "homeassistant-stubs"
  ];

  doCheck = false;

  meta = with lib; {
    description = "Typing stubs for Home Assistant Core";
    homepage = "https://github.com/KapJI/homeassistant-stubs";
    changelog = "https://github.com/KapJI/homeassistant-stubs/releases/tag/${version}";
    license = licenses.mit;
    maintainers = teams.home-assistant.members;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -4378,6 +4378,8 @@ self: super: with self; {

  homeassistant-pyozw = callPackage ../development/python-modules/homeassistant-pyozw { };

  homeassistant-stubs = callPackage ../servers/home-assistant/stubs.nix { };

  homeconnect = callPackage ../development/python-modules/homeconnect { };

  homematicip = callPackage ../development/python-modules/homematicip { };