home-assistant: support tilt_pi component (#427231)
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tilt-pi";
|
||||
version = "0.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "michaelheyman";
|
||||
repo = "tilt-pi";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-jGy7nwSblF486ldt4ShBEmmZtb0c4+7IuI10cN7Bw1A=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "tiltpi" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/michaelheyman/tilt-pi/releases/tag/${src.tag}";
|
||||
description = "Python client for interacting with the Tilt Pi API";
|
||||
homepage = "https://github.com/michaelheyman/tilt-pi";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -6006,7 +6006,8 @@
|
||||
];
|
||||
"tilt_pi" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: tilt-pi
|
||||
tilt-pi
|
||||
];
|
||||
"time" =
|
||||
ps: with ps; [
|
||||
];
|
||||
@@ -7640,6 +7641,7 @@
|
||||
"tibber"
|
||||
"tile"
|
||||
"tilt_ble"
|
||||
"tilt_pi"
|
||||
"time"
|
||||
"time_date"
|
||||
"timer"
|
||||
|
||||
@@ -17918,6 +17918,8 @@ self: super: with self; {
|
||||
|
||||
tilt-ble = callPackage ../development/python-modules/tilt-ble { };
|
||||
|
||||
tilt-pi = callPackage ../development/python-modules/tilt-pi { };
|
||||
|
||||
time-machine = callPackage ../development/python-modules/time-machine { };
|
||||
|
||||
timeago = callPackage ../development/python-modules/timeago { };
|
||||
|
||||
Reference in New Issue
Block a user