From c2febba8f6f723699f86d8a5485eeed9a7587a16 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 12 Mar 2023 20:05:08 +0100 Subject: [PATCH] python310Packages.ripe-atlas-cousteau: Propagate websocket-client --- .../python-modules/ripe-atlas-cousteau/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/ripe-atlas-cousteau/default.nix b/pkgs/development/python-modules/ripe-atlas-cousteau/default.nix index 73ee2abda8d1..b02f1f9a72f0 100644 --- a/pkgs/development/python-modules/ripe-atlas-cousteau/default.nix +++ b/pkgs/development/python-modules/ripe-atlas-cousteau/default.nix @@ -7,6 +7,7 @@ , python-socketio , pythonOlder , requests +, websocket-client }: buildPythonPackage rec { @@ -26,13 +27,14 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.py \ - --replace 'python-socketio[client]<5' 'python-socketio[client]<6' + --replace "websocket-client~=1.3.1" "websocket-client" ''; propagatedBuildInputs = [ python-dateutil requests python-socketio + websocket-client ] ++ python-socketio.optional-dependencies.client; nativeCheckInputs = [