You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.3 KiB
64 lines
1.3 KiB
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyjwt
|
|
, pytestCheckHook
|
|
, python-dateutil
|
|
, pythonOlder
|
|
, requests
|
|
, responses
|
|
, tox
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ibm-cloud-sdk-core";
|
|
version = "3.16.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-MfWZGWbU0k586EYY0uhHHo2LuhQSmCfgs9Lz50Ds5Hc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pyjwt
|
|
python-dateutil
|
|
requests
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
responses
|
|
tox
|
|
];
|
|
|
|
disabledTests = [
|
|
# Various tests try to access credential files which are not included with the source distribution
|
|
"test_configure_service"
|
|
"test_cp4d_authenticator"
|
|
"test_cwd"
|
|
"test_files_dict"
|
|
"test_files_duplicate_parts"
|
|
"test_files_list"
|
|
"test_get_authenticator"
|
|
"test_gzip_compression_external"
|
|
"test_iam"
|
|
"test_read_external_sources_2"
|
|
"test_retry_config_external"
|
|
# assertion error due to requests brotli support
|
|
"test_http_client"
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
"test/test_container_token_manager.py"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Client library for the IBM Cloud services";
|
|
homepage = "https://github.com/IBM/python-sdk-core";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ globin ];
|
|
};
|
|
}
|
|
|