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:
parent
d4a8452985
commit
a8448933ee
38
pkgs/servers/home-assistant/stubs.nix
Normal file
38
pkgs/servers/home-assistant/stubs.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -4378,6 +4378,8 @@ self: super: with self; {
|
||||||
|
|
||||||
homeassistant-pyozw = callPackage ../development/python-modules/homeassistant-pyozw { };
|
homeassistant-pyozw = callPackage ../development/python-modules/homeassistant-pyozw { };
|
||||||
|
|
||||||
|
homeassistant-stubs = callPackage ../servers/home-assistant/stubs.nix { };
|
||||||
|
|
||||||
homeconnect = callPackage ../development/python-modules/homeconnect { };
|
homeconnect = callPackage ../development/python-modules/homeconnect { };
|
||||||
|
|
||||||
homematicip = callPackage ../development/python-modules/homematicip { };
|
homematicip = callPackage ../development/python-modules/homematicip { };
|
||||||
|
|
Loading…
Reference in a new issue