nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 cryptography,
5 fetchPypi,
6 jmespath,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "aliyun-python-sdk-core";
12 version = "2.16.0";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-ZRyq1ZfrOdT61s+FEz3/6Sg31TvfYtudjzfatlCLuPk=";
18 };
19
20 pythonRelaxDeps = true;
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 cryptography
26 jmespath
27 ];
28
29 # All components are stored in a mono repo
30 doCheck = false;
31
32 pythonImportsCheck = [ "aliyunsdkcore" ];
33
34 meta = {
35 description = "Core module of Aliyun Python SDK";
36 homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
37 changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-core/ChangeLog.txt";
38 license = lib.licenses.asl20;
39 maintainers = with lib.maintainers; [ fab ];
40 };
41}