fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
35 lines
857 B
Nix
35 lines
857 B
Nix
{
|
|
lib,
|
|
aliyun-python-sdk-core,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aliyun-python-sdk-cdn";
|
|
version = "3.8.8";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-LMCNvjV85TvdSM0OXean4dPzAiV8apVdRLTvUISOKec=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-cdn/ChangeLog.txt";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|