36 lines
877 B
Nix
36 lines
877 B
Nix
|
{
|
||
|
lib,
|
||
|
aliyun-python-sdk-core,
|
||
|
buildPythonPackage,
|
||
|
fetchPypi,
|
||
|
pythonOlder,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "aliyun-python-sdk-config";
|
||
|
version = "2.2.14";
|
||
|
format = "setuptools";
|
||
|
|
||
|
disabled = pythonOlder "3.7";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
hash = "sha256-drmk41/k/JJ6Zs6MrnMQa7xwpkO7MZEaSeyfm2QimKo=";
|
||
|
};
|
||
|
|
||
|
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";
|
||
|
changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-config/ChangeLog.txt";
|
||
|
license = licenses.asl20;
|
||
|
maintainers = with maintainers; [ fab ];
|
||
|
};
|
||
|
}
|