python310Packages.homeassistant-stubs: init at 2023.2.5

Typing hints for Home Assistant core. Freshly generated out of
our home-assistant package.
This commit is contained in:
Martin Weinelt 2023-02-22 23:53:41 +01:00
parent d4a8452985
commit a8448933ee
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ 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;
};
}

View File

@ -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 { };