38 lines
743 B
Nix
38 lines
743 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|