diff --git a/pkgs/development/python-modules/aliyun-python-sdk-core/default.nix b/pkgs/development/python-modules/aliyun-python-sdk-core/default.nix index 1ead4ce1427c..57323e4b189d 100644 --- a/pkgs/development/python-modules/aliyun-python-sdk-core/default.nix +++ b/pkgs/development/python-modules/aliyun-python-sdk-core/default.nix @@ -1,29 +1,33 @@ -{ lib -, buildPythonPackage -, cryptography -, fetchPypi -, jmespath -, pythonOlder -, pythonRelaxDepsHook +{ + lib, + buildPythonPackage, + cryptography, + fetchPypi, + jmespath, + pythonOlder, + pythonRelaxDepsHook, + setuptools, }: buildPythonPackage rec { pname = "aliyun-python-sdk-core"; - version = "2.15.0"; - format = "setuptools"; + version = "2.15.1"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-7cRVVIjYqfHGG9QZx74nsjl0sqBSlxtGFPzSKerus4I="; + hash = "sha256-UYVQ0H9TfNOvrDtsk7XJl840QOTQwFTjrL2qgmHpCt8="; }; - nativeBuildInputs = [ - pythonRelaxDepsHook - ]; + pythonRelaxDeps = true; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + nativeBuildInputs = [ pythonRelaxDepsHook ]; + + dependencies = [ cryptography jmespath ]; @@ -31,11 +35,7 @@ buildPythonPackage rec { # All components are stored in a mono repo doCheck = false; - pythonRelaxDeps = true; - - pythonImportsCheck = [ - "aliyunsdkcore" - ]; + pythonImportsCheck = [ "aliyunsdkcore" ]; meta = with lib; { description = "Core module of Aliyun Python SDK";