summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/alibabacloud-tea-openapi/default.nix
blob: 35b5483272e2f791c26a21ec4a65031d1a41e974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  lib,
  alibabacloud-credentials,
  alibabacloud-gateway-spi,
  alibabacloud-tea-util,
  buildPythonPackage,
  cryptography,
  darabonba-core,
  fetchPypi,
  setuptools,
}:

buildPythonPackage (finalAttrs: {
  pname = "alibabacloud-tea-openapi";
  version = "0.4.6";
  pyproject = true;

  src = fetchPypi {
    pname = "alibabacloud_tea_openapi";
    inherit (finalAttrs) version;
    hash = "sha256-2vwyQBcS9bIcEtw9BbqIepGtFW2bSadmInn5/ZBSb7I=";
  };

  pythonRelaxDeps = [ "cryptography" ];

  build-system = [ setuptools ];

  dependencies = [
    alibabacloud-credentials
    alibabacloud-gateway-spi
    alibabacloud-tea-util
    cryptography
    darabonba-core
  ];

  pythonImportsCheck = [ "Tea" ];

  # Module has only tests in the untagged upstream repo
  doCheck = false;

  meta = {
    description = "Aliyun Tea OpenAPI Library for Python";
    homepage = "https://pypi.org/project/alibabacloud-tea-openapi/";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
})