diff options
-rw-r--r-- | pkgs/development/python-modules/aliyun-python-sdk-core/default.nix | 46 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aliyun-python-sdk-core/default.nix b/pkgs/development/python-modules/aliyun-python-sdk-core/default.nix new file mode 100644 index 0000000000000..272a2ea5cccb6 --- /dev/null +++ b/pkgs/development/python-modules/aliyun-python-sdk-core/default.nix @@ -0,0 +1,46 @@ +{ lib +, buildPythonPackage +, cryptography +, fetchPypi +, jmespath +, pythonOlder +, pythonRelaxDepsHook +}: + +buildPythonPackage rec { + pname = "aliyun-python-sdk-core"; + version = "2.13.36"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-IL1UmE+jFtpwDH81WlGrC4FmkOKg/O+3te8BP+0NqSg="; + }; + + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + + propagatedBuildInputs = [ + cryptography + jmespath + ]; + + # All components are stored in a mono repo + doCheck = false; + + pythonRelaxDeps = true; + + pythonImportsCheck = [ + "aliyunsdkcore" + ]; + + meta = with lib; { + description = "Core 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 c4fe8d82f8f6c..84822ae910091 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -487,6 +487,8 @@ in { algebraic-data-types = callPackage ../development/python-modules/algebraic-data-types { }; + aliyun-python-sdk-core = callPackage ../development/python-modules/aliyun-python-sdk-core { }; + allpairspy = callPackage ../development/python-modules/allpairspy { }; allure-behave = callPackage ../development/python-modules/allure-behave { }; |