summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-socketio
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-socketio')
-rw-r--r--pkgs/development/python-modules/python-socketio/default.nix17
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/python-socketio/default.nix b/pkgs/development/python-modules/python-socketio/default.nix
index 980e62428aff..99cbce9ae1c3 100644
--- a/pkgs/development/python-modules/python-socketio/default.nix
+++ b/pkgs/development/python-modules/python-socketio/default.nix
@@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "python-socketio";
- version = "5.7.1";
+ version = "5.7.2";
format = "setuptools";
disabled = pythonOlder "3.6";
@@ -23,17 +23,24 @@ buildPythonPackage rec {
owner = "miguelgrinberg";
repo = "python-socketio";
rev = "v${version}";
- hash = "sha256-KVaBSBWLeFJYiNJYTwoExExUmUaeNJ40c/WTgTc2Y/w=";
+ hash = "sha256-mSFs/k+3Lp5w4WdOLKj65kOA5b+Nc1uuksVmeeqV58E=";
};
propagatedBuildInputs = [
- aiohttp
bidict
python-engineio
- requests
- websocket-client
];
+ passthru.optional-dependencies = {
+ client = [
+ requests
+ websocket-client
+ ];
+ asyncio_client = [
+ aiohttp
+ ];
+ };
+
checkInputs = [
mock
msgpack