4d5a95770c
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
38 lines
862 B
Nix
38 lines
862 B
Nix
{ lib
|
|
, aliyun-python-sdk-core
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aliyun-python-sdk-cdn";
|
|
version = "3.8.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-LsB3u35PLI/3PcuNbdgcxRoEFZ5CpyINEJa4Nw64NPA=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|