depot/third_party/nixpkgs/pkgs/development/python-modules/aliyun-python-sdk-cdn/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

38 lines
863 B
Nix

{ lib
, aliyun-python-sdk-core
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "aliyun-python-sdk-cdn";
version = "3.7.10";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Zewi/LroLKFPCVYp2yBvn6gL/KAvbH5p8yNDxaHHTDY=";
};
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 ];
};
}