Merge pull request #186461 from fabaff/aliyun

python310Packages.aliyun-python-sdk-core: init at 2.13.36

authored by

Fabian Affolter and committed by
GitHub
11528541 e5236062

+489
+49
pkgs/development/python-modules/adlfs/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , azure-core 4 + , azure-datalake-store 5 + , azure-identity 6 + , azure-storage-blob 7 + , buildPythonPackage 8 + , fetchFromGitHub 9 + , fsspec 10 + , pythonOlder 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "adlfs"; 15 + version = "2022.7.0"; 16 + format = "setuptools"; 17 + 18 + disabled = pythonOlder "3.7"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "fsspec"; 22 + repo = pname; 23 + rev = version; 24 + hash = "sha256-79HPJip+nocYo/r8LCb9vdYKVuEh0BBrz/eTJF0eGTA="; 25 + }; 26 + 27 + propagatedBuildInputs = [ 28 + aiohttp 29 + azure-core 30 + azure-datalake-store 31 + azure-identity 32 + azure-storage-blob 33 + fsspec 34 + ]; 35 + 36 + # Tests require a running Docker instance 37 + doCheck = false; 38 + 39 + pythonImportsCheck = [ 40 + "adlfs" 41 + ]; 42 + 43 + meta = with lib; { 44 + description = "Filesystem interface to Azure-Datalake Gen1 and Gen2 Storage"; 45 + homepage = "https://github.com/fsspec/adlfs"; 46 + license = licenses.bsd3; 47 + maintainers = with maintainers; [ fab ]; 48 + }; 49 + }
+37
pkgs/development/python-modules/aliyun-python-sdk-cdn/default.nix
··· 1 + { lib 2 + , aliyun-python-sdk-core 3 + , buildPythonPackage 4 + , fetchPypi 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "aliyun-python-sdk-cdn"; 10 + version = "3.7.1"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + hash = "sha256-GAY4o9lr+1m8g1T7EhL5jLjEdfMWC/1vJ3UC4PQzvjI="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + aliyun-python-sdk-core 22 + ]; 23 + 24 + # All components are stored in a mono repo 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ 28 + "aliyunsdkcdn" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "CDN module of Aliyun Python SDK"; 33 + homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk"; 34 + license = licenses.asl20; 35 + maintainers = with maintainers; [ fab ]; 36 + }; 37 + }
+37
pkgs/development/python-modules/aliyun-python-sdk-config/default.nix
··· 1 + { lib 2 + , aliyun-python-sdk-core 3 + , buildPythonPackage 4 + , fetchPypi 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "aliyun-python-sdk-config"; 10 + version = "2.2.0"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + hash = "sha256-FQNj11G2d985KkpVycJyUqugul/EXu4PpuvD/YGPkBc="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + aliyun-python-sdk-core 22 + ]; 23 + 24 + # All components are stored in a mono repo 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ 28 + "aliyunsdkconfig" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "Configuration module of Aliyun Python SDK"; 33 + homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk"; 34 + license = licenses.asl20; 35 + maintainers = with maintainers; [ fab ]; 36 + }; 37 + }
+46
pkgs/development/python-modules/aliyun-python-sdk-core/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , cryptography 4 + , fetchPypi 5 + , jmespath 6 + , pythonOlder 7 + , pythonRelaxDepsHook 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "aliyun-python-sdk-core"; 12 + version = "2.13.36"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 16 + 17 + src = fetchPypi { 18 + inherit pname version; 19 + hash = "sha256-IL1UmE+jFtpwDH81WlGrC4FmkOKg/O+3te8BP+0NqSg="; 20 + }; 21 + 22 + nativeBuildInputs = [ 23 + pythonRelaxDepsHook 24 + ]; 25 + 26 + propagatedBuildInputs = [ 27 + cryptography 28 + jmespath 29 + ]; 30 + 31 + # All components are stored in a mono repo 32 + doCheck = false; 33 + 34 + pythonRelaxDeps = true; 35 + 36 + pythonImportsCheck = [ 37 + "aliyunsdkcore" 38 + ]; 39 + 40 + meta = with lib; { 41 + description = "Core module of Aliyun Python SDK"; 42 + homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk"; 43 + license = licenses.asl20; 44 + maintainers = with maintainers; [ fab ]; 45 + }; 46 + }
+37
pkgs/development/python-modules/aliyun-python-sdk-dbfs/default.nix
··· 1 + { lib 2 + , aliyun-python-sdk-core 3 + , buildPythonPackage 4 + , fetchPypi 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "aliyun-python-sdk-dbfs"; 10 + version = "2.0.0"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + hash = "sha256-NdhmJnuGLy96HsJCKoHWdBdqGa7bdWRVUJOPPSEs6FQ="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + aliyun-python-sdk-core 22 + ]; 23 + 24 + # All components are stored in a mono repo 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ 28 + "aliyunsdkdbfs" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "DBFS module of Aliyun Python SDK"; 33 + homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk"; 34 + license = licenses.asl20; 35 + maintainers = with maintainers; [ fab ]; 36 + }; 37 + }
+37
pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix
··· 1 + { lib 2 + , aliyun-python-sdk-core 3 + , buildPythonPackage 4 + , fetchPypi 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "aliyun-python-sdk-iot"; 10 + version = "8.41.0"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + hash = "sha256-t/SIEW1JMTyeOhhxx6IhLsbQa0D3aqD2hqGk8+Ka0ns="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + aliyun-python-sdk-core 22 + ]; 23 + 24 + # All components are stored in a mono repo 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ 28 + "aliyunsdkiot" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "IoT module of Aliyun Python SDK"; 33 + homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk"; 34 + license = licenses.asl20; 35 + maintainers = with maintainers; [ fab ]; 36 + }; 37 + }
+37
pkgs/development/python-modules/aliyun-python-sdk-kms/default.nix
··· 1 + { lib 2 + , aliyun-python-sdk-core 3 + , buildPythonPackage 4 + , fetchPypi 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "aliyun-python-sdk-kms"; 10 + version = "2.16.0"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + hash = "sha256-p/GFdyyI86DdqFa2Zt2kNtguAPnxHqW78S3KsmEO41g="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + aliyun-python-sdk-core 22 + ]; 23 + 24 + # All components are stored in a mono repo 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ 28 + "aliyunsdkkms" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "KMS module of Aliyun Python SDK"; 33 + homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk"; 34 + license = licenses.asl20; 35 + maintainers = with maintainers; [ fab ]; 36 + }; 37 + }
+37
pkgs/development/python-modules/aliyun-python-sdk-sts/default.nix
··· 1 + { lib 2 + , aliyun-python-sdk-core 3 + , buildPythonPackage 4 + , fetchPypi 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "aliyun-python-sdk-sts"; 10 + version = "3.1.0"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + hash = "sha256-CpUMw2qdY+5a99WgFLp0p00kQVnuvf3yMOZqTztqnRA="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + aliyun-python-sdk-core 22 + ]; 23 + 24 + # All components are stored in a mono repo 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ 28 + "aliyunsdksts" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "STS module of Aliyun Python SDK"; 33 + homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk"; 34 + license = licenses.asl20; 35 + maintainers = with maintainers; [ fab ]; 36 + }; 37 + }
+111
pkgs/development/python-modules/oss2/default.nix
··· 1 + { lib 2 + , aliyun-python-sdk-core 3 + , aliyun-python-sdk-kms 4 + , aliyun-python-sdk-sts 5 + , buildPythonPackage 6 + , crcmod 7 + , fetchFromGitHub 8 + , mock 9 + , pycryptodome 10 + , pytestCheckHook 11 + , pythonOlder 12 + , pythonRelaxDepsHook 13 + , requests 14 + , six 15 + }: 16 + 17 + buildPythonPackage rec { 18 + pname = "oss2"; 19 + version = "2.16.0"; 20 + format = "setuptools"; 21 + 22 + disabled = pythonOlder "3.7"; 23 + 24 + src = fetchFromGitHub { 25 + owner = "aliyun"; 26 + repo = "aliyun-oss-python-sdk"; 27 + rev = version; 28 + hash = "sha256-Q8U7zMlqpKSoW99MBm9p0AnrGZY7M9oRNImMNJaEjSw="; 29 + }; 30 + 31 + nativeBuildInputs = [ 32 + pythonRelaxDepsHook 33 + ]; 34 + 35 + propagatedBuildInputs = [ 36 + requests 37 + crcmod 38 + pycryptodome 39 + aliyun-python-sdk-kms 40 + aliyun-python-sdk-core 41 + six 42 + ]; 43 + 44 + checkInputs = [ 45 + aliyun-python-sdk-sts 46 + mock 47 + pytestCheckHook 48 + ]; 49 + 50 + pythonRelaxDeps = true; 51 + 52 + pythonImportsCheck = [ 53 + "oss2" 54 + ]; 55 + 56 + disabledTestPaths = [ 57 + # Tests require network access 58 + "tests/test_api_base.py" 59 + "tests/test_async_fetch_task.py" 60 + "tests/test_bucket_cname.py" 61 + "tests/test_bucket_inventory.py" 62 + "tests/test_bucket_meta_query.py" 63 + "tests/test_bucket_replication.py" 64 + "tests/test_bucket_transfer_acceleration.py" 65 + "tests/test_bucket_versioning.py" 66 + "tests/test_bucket_worm.py" 67 + "tests/test_bucket.py" 68 + "tests/test_chinese.py" 69 + "tests/test_crc64_combine.py" 70 + "tests/test_credentials_provider.py" 71 + "tests/test_crypto_multipart.py" 72 + "tests/test_crypto_object.py" 73 + "tests/test_crypto.py" 74 + "tests/test_download.py" 75 + "tests/test_headers.py" 76 + "tests/test_image.py" 77 + "tests/test_init.py" 78 + "tests/test_iterator.py" 79 + "tests/test_lifecycle_versioning.py" 80 + "tests/test_list_objects_v2.py" 81 + "tests/test_live_channel.py" 82 + "tests/test_multipart.py" 83 + "tests/test_object_request_payment_versions.py" 84 + "tests/test_object_request_payment.py" 85 + "tests/test_object_versioning.py" 86 + "tests/test_object.py" 87 + "tests/test_proxy.py" 88 + "tests/test_put_object_chunked.py" 89 + "tests/test_qos_info.py" 90 + "tests/test_request_payment.py" 91 + "tests/test_select_csv_object.py" 92 + "tests/test_select_json_object.py" 93 + "tests/test_server_side_encryotion.py" 94 + "tests/test_sign.py" 95 + "tests/test_traffic_limit.py" 96 + "tests/test_upload.py" 97 + "tests/test_utils.py" 98 + "tests/test_website.py" 99 + ]; 100 + 101 + disabledTests = [ 102 + "test_crypto_get_compact_deprecated_kms" 103 + ]; 104 + 105 + meta = with lib; { 106 + description = "Alibaba Cloud OSS SDK for Python"; 107 + homepage = "https://github.com/aliyun/aliyun-oss-python-sdk"; 108 + license = licenses.mit; 109 + maintainers = with maintainers; [ fab ]; 110 + }; 111 + }
+41
pkgs/development/python-modules/ossfs/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , fsspec 5 + , oss2 6 + , pythonOlder 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "ossfs"; 11 + version = "2021.8.0"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.7"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "fsspec"; 18 + repo = pname; 19 + rev = version; 20 + hash = "sha256-bORiE3sIDNESjEizdzsJYZTSMbcqpbjostXo+0NQDfA="; 21 + }; 22 + 23 + propagatedBuildInputs = [ 24 + fsspec 25 + oss2 26 + ]; 27 + 28 + # Most tests require network access 29 + doCheck = false; 30 + 31 + pythonImportsCheck = [ 32 + "ossfs" 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "Filesystem for Alibaba Cloud (Aliyun) Object Storage System (OSS)"; 37 + homepage = "https://github.com/fsspec/ossfs"; 38 + license = licenses.asl20; 39 + maintainers = with maintainers; [ fab ]; 40 + }; 41 + }
+20
pkgs/top-level/python-packages.nix
··· 205 205 206 206 adjusttext = callPackage ../development/python-modules/adjusttext { }; 207 207 208 + adlfs = callPackage ../development/python-modules/adlfs { }; 209 + 208 210 advantage-air = callPackage ../development/python-modules/advantage-air { }; 209 211 210 212 advocate = callPackage ../development/python-modules/advocate { }; ··· 486 488 alembic = callPackage ../development/python-modules/alembic { }; 487 489 488 490 algebraic-data-types = callPackage ../development/python-modules/algebraic-data-types { }; 491 + 492 + aliyun-python-sdk-cdn = callPackage ../development/python-modules/aliyun-python-sdk-cdn { }; 493 + 494 + aliyun-python-sdk-config = callPackage ../development/python-modules/aliyun-python-sdk-config { }; 495 + 496 + aliyun-python-sdk-core = callPackage ../development/python-modules/aliyun-python-sdk-core { }; 497 + 498 + aliyun-python-sdk-dbfs = callPackage ../development/python-modules/aliyun-python-sdk-dbfs { }; 499 + 500 + aliyun-python-sdk-iot = callPackage ../development/python-modules/aliyun-python-sdk-iot { }; 501 + 502 + aliyun-python-sdk-kms = callPackage ../development/python-modules/aliyun-python-sdk-kms { }; 503 + 504 + aliyun-python-sdk-sts = callPackage ../development/python-modules/aliyun-python-sdk-sts { }; 489 505 490 506 allpairspy = callPackage ../development/python-modules/allpairspy { }; 491 507 ··· 6342 6358 ospd = callPackage ../development/python-modules/ospd { }; 6343 6359 6344 6360 osqp = callPackage ../development/python-modules/osqp { }; 6361 + 6362 + oss2 = callPackage ../development/python-modules/oss2 { }; 6363 + 6364 + ossfs = callPackage ../development/python-modules/ossfs { }; 6345 6365 6346 6366 outcome = callPackage ../development/python-modules/outcome { }; 6347 6367