python3Packages.tuya-device-handlers: init at 0.0.10

This commit is contained in:
Jamie Magee
2026-03-29 14:21:04 -07:00
parent 58ffa55498
commit 482f9e2d1d
2 changed files with 43 additions and 0 deletions
@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
tuya-device-sharing-sdk,
pytestCheckHook,
syrupy,
}:
buildPythonPackage (finalAttrs: {
pname = "tuya-device-handlers";
version = "0.0.10";
pyproject = true;
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "tuya-device-handlers";
tag = "v${finalAttrs.version}";
hash = "sha256-W5aSEt8xXxQUcs6+AVVcgXxjm3WppzfCaww8YX+sej0=";
};
build-system = [ poetry-core ];
dependencies = [ tuya-device-sharing-sdk ];
nativeCheckInputs = [
pytestCheckHook
syrupy
];
pythonImportsCheck = [ "tuya_device_handlers" ];
meta = {
description = "Tuya quirks library";
homepage = "https://github.com/home-assistant-libs/tuya-device-handlers";
changelog = "https://github.com/home-assistant-libs/tuya-device-handlers/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
+2
View File
@@ -19758,6 +19758,8 @@ self: super: with self; {
turrishw = callPackage ../development/python-modules/turrishw { };
tuya-device-handlers = callPackage ../development/python-modules/tuya-device-handlers { };
tuya-device-sharing-sdk = callPackage ../development/python-modules/tuya-device-sharing-sdk { };
tuya-iot-py-sdk = callPackage ../development/python-modules/tuya-iot-py-sdk { };