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