ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / ibm-cloud-sdk-core / default.nix
blob3e2d61843de267eb6d8b8a340b43ab0e23c3397d
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pyjwt
5 , pytestCheckHook
6 , python-dateutil
7 , pythonOlder
8 , requests
9 , responses
10 , tox
13 buildPythonPackage rec {
14   pname = "ibm-cloud-sdk-core";
15   version = "3.16.0";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-MfWZGWbU0k586EYY0uhHHo2LuhQSmCfgs9Lz50Ds5Hc=";
23   };
25   propagatedBuildInputs = [
26     pyjwt
27     python-dateutil
28     requests
29   ];
31   checkInputs = [
32     pytestCheckHook
33     responses
34     tox
35   ];
37   disabledTests = [
38     # Various tests try to access credential files which are not included with the source distribution
39     "test_configure_service"
40     "test_cp4d_authenticator"
41     "test_cwd"
42     "test_files_dict"
43     "test_files_duplicate_parts"
44     "test_files_list"
45     "test_get_authenticator"
46     "test_gzip_compression_external"
47     "test_iam"
48     "test_read_external_sources_2"
49     "test_retry_config_external"
50     # assertion error due to requests brotli support
51     "test_http_client"
52   ];
54   disabledTestPaths = [
55     "test/test_container_token_manager.py"
56   ];
58   meta = with lib; {
59     description = "Client library for the IBM Cloud services";
60     homepage = "https://github.com/IBM/python-sdk-core";
61     license = licenses.asl20;
62     maintainers = with maintainers; [ globin ];
63   };