From 4db578eb9c41e379d586a48af566c2c12317adec Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 3 Sep 2024 21:01:26 +0200 Subject: [PATCH 1/3] python312Packages.tinytuya: 1.14.0 -> 1.15.1 Diff: https://github.com/jasonacox/tinytuya/compare/refs/tags/v1.14.0...v1.15.1 Changelog: https://github.com/jasonacox/tinytuya/releases/tag/v1.15.1 --- pkgs/development/python-modules/tinytuya/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tinytuya/default.nix b/pkgs/development/python-modules/tinytuya/default.nix index cb9b37a01a84..249332475d94 100644 --- a/pkgs/development/python-modules/tinytuya/default.nix +++ b/pkgs/development/python-modules/tinytuya/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "tinytuya"; - version = "1.14.0"; + version = "1.15.1"; pyproject = true; src = fetchFromGitHub { owner = "jasonacox"; repo = "tinytuya"; rev = "refs/tags/v${version}"; - hash = "sha256-ytM7S0V/hDOCb3RyzAXZEd2zV/sMVQPrah/2zRACMsQ="; + hash = "sha256-T7bT4be/h67iPIH/7hjNCYsUDP+4o4HLV523sBIjGVs="; }; build-system = [ setuptools ]; From ab41f6694504cd1b0df4bace66ec311d1c7fffb4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 3 Sep 2024 21:04:44 +0200 Subject: [PATCH 2/3] python312Packages.tinytuya: refactor - remove superfluous comments --- .../python-modules/tinytuya/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/tinytuya/default.nix b/pkgs/development/python-modules/tinytuya/default.nix index 249332475d94..20398ec3584d 100644 --- a/pkgs/development/python-modules/tinytuya/default.nix +++ b/pkgs/development/python-modules/tinytuya/default.nix @@ -1,15 +1,12 @@ { lib, buildPythonPackage, - fetchFromGitHub, - - # build-system - setuptools, - - # dependencies - cryptography, - requests, colorama, + cryptography, + fetchFromGitHub, + pythonOlder, + requests, + setuptools, }: buildPythonPackage rec { @@ -17,6 +14,8 @@ buildPythonPackage rec { version = "1.15.1"; pyproject = true; + disabled = pythonOlder "3.10"; + src = fetchFromGitHub { owner = "jasonacox"; repo = "tinytuya"; From 8b883dc1d2764d04529f7566e154b3c9489a64ee Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 3 Sep 2024 21:15:31 +0200 Subject: [PATCH 3/3] home-assistant-custom-components.tuya_local: 2024.6.0 -> 2024.8.0 Diff: https://github.com/make-all/tuya-local/compare/refs/tags/2024.6.0...2024.8.0 Changelog: https://github.com/make-all/tuya-local/releases/tag/2024.8.0 --- .../home-assistant/custom-components/tuya_local/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/home-assistant/custom-components/tuya_local/default.nix b/pkgs/servers/home-assistant/custom-components/tuya_local/default.nix index 7d72209c57b0..a097dac5d6ef 100644 --- a/pkgs/servers/home-assistant/custom-components/tuya_local/default.nix +++ b/pkgs/servers/home-assistant/custom-components/tuya_local/default.nix @@ -10,13 +10,13 @@ buildHomeAssistantComponent rec { owner = "make-all"; domain = "tuya_local"; - version = "2024.6.0"; + version = "2024.8.0"; src = fetchFromGitHub { inherit owner; repo = "tuya-local"; rev = "refs/tags/${version}"; - hash = "sha256-OLR/KFoXKqL7r7S97VpyoVHdbLfOyWU50aK6c0QhqyE="; + hash = "sha256-IHTWcNxmNXJk7SNnrLNFbaXJQSg6VYkAgAVmyt3JmRw="; }; dependencies = [