Merge pull request #156951 from r-ryantm/auto-update/python3.10-ibm-watson
python310Packages.ibm-watson: 5.3.0 -> 5.3.1
This commit is contained in:
commit
416d03719c
1 changed files with 17 additions and 9 deletions
|
@ -10,19 +10,30 @@
|
|||
, python-dateutil
|
||||
, websocket-client
|
||||
, ibm-cloud-sdk-core
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ibm-watson";
|
||||
version = "5.3.0";
|
||||
version = "5.3.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "watson-developer-cloud";
|
||||
repo = "python-sdk";
|
||||
rev = "v${version}";
|
||||
sha256 = "0g63h7rf0710bxcsr115857bvz69sl2g5d13k5a7qi7hjh33bxrk";
|
||||
sha256 = "1x6r8j0xyi81jb0q4pzr6l7aglykrwqz8nw45clv79v33i2sgdcs";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
python-dateutil
|
||||
websocket-client
|
||||
ibm-cloud-sdk-core
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
responses
|
||||
pytestCheckHook
|
||||
|
@ -31,18 +42,15 @@ buildPythonPackage rec {
|
|||
tox
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
python-dateutil
|
||||
websocket-client
|
||||
ibm-cloud-sdk-core
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace websocket-client==1.1.0 websocket-client>=1.1.0
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ibm_watson"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client library to use the IBM Watson Services";
|
||||
homepage = "https://github.com/watson-developer-cloud/python-sdk";
|
||||
|
|
Loading…
Reference in a new issue