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";