depot/third_party/nixpkgs/pkgs/development/python-modules/aliyun-python-sdk-cdn/default.nix
Default email ed0c4a69f0 Project import generated by Copybara.
GitOrigin-RevId: e3652e0735fbec227f342712f180f4f21f0594f2
2023-03-31 00:05:00 +02:00

38 lines
862 B
Nix

{ lib
, aliyun-python-sdk-core
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "aliyun-python-sdk-cdn";
version = "3.8.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-2bFiOvwbvYy7uw7h0LTX4szSBwgafSYOOixxv+zAYDo=";
};
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 ];
};
}