diff --git a/pkgs/development/python-modules/aliyun-python-sdk-config/default.nix b/pkgs/development/python-modules/aliyun-python-sdk-config/default.nix new file mode 100644 index 000000000000..b349fe9e7b74 --- /dev/null +++ b/pkgs/development/python-modules/aliyun-python-sdk-config/default.nix @@ -0,0 +1,37 @@ +{ lib +, aliyun-python-sdk-core +, buildPythonPackage +, fetchPypi +, pythonOlder +}: + +buildPythonPackage rec { + pname = "aliyun-python-sdk-config"; + version = "2.2.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-FQNj11G2d985KkpVycJyUqugul/EXu4PpuvD/YGPkBc="; + }; + + propagatedBuildInputs = [ + aliyun-python-sdk-core + ]; + + # All components are stored in a mono repo + doCheck = false; + + pythonImportsCheck = [ + "aliyunsdkconfig" + ]; + + meta = with lib; { + description = "Configuration module of Aliyun Python SDK"; + homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6060c1be63e4..b52a770e8b0d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -489,6 +489,8 @@ in { aliyun-python-sdk-cdn = callPackage ../development/python-modules/aliyun-python-sdk-cdn { }; + aliyun-python-sdk-config = callPackage ../development/python-modules/aliyun-python-sdk-config { }; + aliyun-python-sdk-core = callPackage ../development/python-modules/aliyun-python-sdk-core { }; aliyun-python-sdk-dbfs = callPackage ../development/python-modules/aliyun-python-sdk-dbfs { };