1{ lib
2, aliyun-python-sdk-core
3, buildPythonPackage
4, fetchPypi
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "aliyun-python-sdk-cdn";
10 version = "3.8.8";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-LMCNvjV85TvdSM0OXean4dPzAiV8apVdRLTvUISOKec=";
18 };
19
20 propagatedBuildInputs = [
21 aliyun-python-sdk-core
22 ];
23
24 # All components are stored in a mono repo
25 doCheck = false;
26
27 pythonImportsCheck = [
28 "aliyunsdkcdn"
29 ];
30
31 meta = with lib; {
32 description = "CDN module of Aliyun Python SDK";
33 homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
34 changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-cdn/ChangeLog.txt";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ fab ];
37 };
38}