diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-08-13 18:06:44 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-08-13 19:44:09 +0200 |
commit | a1e3f1dd5dbd510714901fedb5dd6fc872327315 (patch) | |
tree | 38595e5c910d5dec4e6ddb8a8f9a8906a6097c25 | |
parent | 11e7d4accdc6b9850fdbe6f6147a52fcf53a6343 (diff) |
python310Packages.aliyun-python-sdk-core: init at 2.13.36
-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 { }; |