python310Packages.aliyun-python-sdk-cdn: init at 3.7.1

This commit is contained in:
Fabian Affolter 2022-08-13 20:11:38 +02:00
parent 467b0b65a3
commit 21c6880e25
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, aliyun-python-sdk-core
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "aliyun-python-sdk-cdn";
version = "3.7.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-GAY4o9lr+1m8g1T7EhL5jLjEdfMWC/1vJ3UC4PQzvjI=";
};
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 ];
};
}

View File

@ -487,6 +487,8 @@ in {
algebraic-data-types = callPackage ../development/python-modules/algebraic-data-types { };
aliyun-python-sdk-cdn = callPackage ../development/python-modules/aliyun-python-sdk-cdn { };
aliyun-python-sdk-core = callPackage ../development/python-modules/aliyun-python-sdk-core { };
aliyun-python-sdk-dbfs = callPackage ../development/python-modules/aliyun-python-sdk-dbfs { };