2022-08-21 13:32:41 +00:00
|
|
|
{ lib
|
|
|
|
, aliyun-python-sdk-core
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aliyun-python-sdk-cdn";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "3.7.2";
|
2022-08-21 13:32:41 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-09 14:08:57 +00:00
|
|
|
hash = "sha256-wbVkoNu9ffMpuivUGg+PAya099xMbU0Ehvl0++ud+WE=";
|
2022-08-21 13:32:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aliyun-python-sdk-core
|
|
|
|
];
|
|
|
|
|
|
|
|
# All components are stored in a mono repo
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"aliyunsdkcdn"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "CDN module of Aliyun Python SDK";
|
|
|
|
homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|