mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 07:04:25 +00:00
python311Packages.ibm-watson: remove postPatch section
This commit is contained in:
parent
c316383a6c
commit
4f9ae918e3
@ -1,15 +1,15 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, responses
|
||||
, pytestCheckHook
|
||||
, python-dotenv
|
||||
, pytest-rerunfailures
|
||||
, requests
|
||||
, python-dateutil
|
||||
, websocket-client
|
||||
, ibm-cloud-sdk-core
|
||||
, pytest-rerunfailures
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, python-dotenv
|
||||
, pythonOlder
|
||||
, requests
|
||||
, responses
|
||||
, websocket-client
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -27,24 +27,19 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
python-dateutil
|
||||
websocket-client
|
||||
ibm-cloud-sdk-core
|
||||
python-dateutil
|
||||
requests
|
||||
websocket-client
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
responses
|
||||
pytest-rerunfailures
|
||||
pytestCheckHook
|
||||
python-dotenv
|
||||
pytest-rerunfailures
|
||||
responses
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace websocket-client==1.1.0 websocket-client>=1.1.0
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ibm_watson"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user