92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
37 lines
743 B
Nix
37 lines
743 B
Nix
{ lib
|
|
, aliyun-python-sdk-core
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aliyun-python-sdk-cdn";
|
|
version = "3.7.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Rqz4V6QunddSFeMyROROOL5T4MFPWK1gTorPpNWO8oQ=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|