nixpkgs/pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix
2021-06-22 13:42:31 +02:00

53 lines
1.1 KiB
Nix

{ lib
, buildPythonPackage
, fetchPypi
, codecov
, pyjwt
, pylint
, pytestCheckHook
, pytestcov
, python-dateutil
, requests
, responses
, tox
}:
buildPythonPackage rec {
pname = "ibm-cloud-sdk-core";
version = "3.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "ab9520be99066ec41a24e31ac653c28953adc8fc349f0fa53a598e1802a79cd6";
};
checkInputs = [
codecov
pylint
pytestCheckHook
pytestcov
responses
tox
];
propagatedBuildInputs = [
pyjwt
python-dateutil
requests
];
# Various tests try to access credential files which are not included with the source distribution
disabledTests = [
"test_iam" "test_cwd" "test_configure_service" "test_get_authenticator"
"test_read_external_sources_2" "test_files_duplicate_parts" "test_files_list"
"test_files_dict" "test_retry_config_external" "test_gzip_compression_external"
];
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 lheckemann ];
};
}