mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
78bb6ceb7c
Changelog: https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-cdn/ChangeLog.txt
39 lines
862 B
Nix
39 lines
862 B
Nix
{ lib
|
|
, aliyun-python-sdk-core
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aliyun-python-sdk-cdn";
|
|
version = "3.8.8";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-LMCNvjV85TvdSM0OXean4dPzAiV8apVdRLTvUISOKec=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|