1{ lib
2, buildPythonPackage
3, fetchPypi
4, pyjwt
5, pytestCheckHook
6, python-dateutil
7, requests
8, responses
9, tox
10}:
11
12buildPythonPackage rec {
13 pname = "ibm-cloud-sdk-core";
14 version = "3.13.0";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "b27aec03e8c666b3e36c68b2331871f37a0c6c0467fe0f73462fda7300d3c19f";
19 };
20
21 propagatedBuildInputs = [
22 pyjwt
23 python-dateutil
24 requests
25 ];
26
27 checkInputs = [
28 pytestCheckHook
29 responses
30 tox
31 ];
32
33 disabledTests = [
34 # Various tests try to access credential files which are not included with the source distribution
35 "test_configure_service"
36 "test_cp4d_authenticator"
37 "test_cwd"
38 "test_files_dict"
39 "test_files_duplicate_parts"
40 "test_files_list"
41 "test_get_authenticator"
42 "test_gzip_compression_external"
43 "test_iam"
44 "test_read_external_sources_2"
45 "test_retry_config_external"
46 # assertion error due to requests brotli support
47 "test_http_client"
48 ];
49
50 disabledTestPaths = [
51 "test/test_container_token_manager.py"
52 ];
53
54 meta = with lib; {
55 description = "Client library for the IBM Cloud services";
56 homepage = "https://github.com/IBM/python-sdk-core";
57 license = licenses.asl20;
58 maintainers = with maintainers; [ globin lheckemann ];
59 };
60}