diff --git a/pkgs/development/python-modules/aliyun-python-sdk-sts/default.nix b/pkgs/development/python-modules/aliyun-python-sdk-sts/default.nix new file mode 100644 index 000000000000..7217822bbcce --- /dev/null +++ b/pkgs/development/python-modules/aliyun-python-sdk-sts/default.nix @@ -0,0 +1,37 @@ +{ lib +, aliyun-python-sdk-core +, buildPythonPackage +, fetchPypi +, pythonOlder +}: + +buildPythonPackage rec { + pname = "aliyun-python-sdk-sts"; + version = "3.1.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-CpUMw2qdY+5a99WgFLp0p00kQVnuvf3yMOZqTztqnRA="; + }; + + propagatedBuildInputs = [ + aliyun-python-sdk-core + ]; + + # All components are stored in a mono repo + doCheck = false; + + pythonImportsCheck = [ + "aliyunsdksts" + ]; + + meta = with lib; { + description = "STS 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 c1fe0b7aaf9c..cd47c891798b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -493,6 +493,8 @@ in { aliyun-python-sdk-kms = callPackage ../development/python-modules/aliyun-python-sdk-kms { }; + aliyun-python-sdk-sts = callPackage ../development/python-modules/aliyun-python-sdk-sts { }; + allpairspy = callPackage ../development/python-modules/allpairspy { }; allure-behave = callPackage ../development/python-modules/allure-behave { };