Loading pkgs/development/python-modules/tuya-device-handlers/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { 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 ]; }; }) pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { }; Loading
pkgs/development/python-modules/tuya-device-handlers/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { 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 ]; }; })
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { };