From 4f9ae918e3d8fb92cf1806c602d4d685ea54f573 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 13 Aug 2023 12:02:37 +0200 Subject: [PATCH] python311Packages.ibm-watson: remove postPatch section --- .../python-modules/ibm-watson/default.nix | 29 ++++++++----------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/pkgs/development/python-modules/ibm-watson/default.nix b/pkgs/development/python-modules/ibm-watson/default.nix index d7666abf58dd..522b7b13cc1c 100644 --- a/pkgs/development/python-modules/ibm-watson/default.nix +++ b/pkgs/development/python-modules/ibm-watson/default.nix @@ -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" ];