about summary refs log tree commit diff
path: root/pkgs/development/python-modules/amqtt
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-10-10 06:27:28 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-10-11 01:54:19 +0200
commite07226c7b77a646969f73c599e3e7737522012f0 (patch)
treee3a461e5967d782b415d8a175a00bb6430ca8b27 /pkgs/development/python-modules/amqtt
parentfbd86581cad93cc48bc445c30bd21731639649ce (diff)
python3Packages.amqtt: relax websockets constraint
Diffstat (limited to 'pkgs/development/python-modules/amqtt')
-rw-r--r--pkgs/development/python-modules/amqtt/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/amqtt/default.nix b/pkgs/development/python-modules/amqtt/default.nix
index 1f5fee4d71bbd..d61140081ef16 100644
--- a/pkgs/development/python-modules/amqtt/default.nix
+++ b/pkgs/development/python-modules/amqtt/default.nix
@@ -26,6 +26,11 @@ buildPythonPackage rec {
     sha256 = "sha256-27LmNR1KC8w3zRJ7YBlBolQ4Q70ScTPqypMCpU6fO+I=";
   };
 
+  postPatch = ''
+    substituteInPlace pyproject.toml \
+      --replace 'websockets = "^9.0"' 'websockets = "^10.0"'
+  '';
+
   nativeBuildInputs = [ poetry-core ];
 
   propagatedBuildInputs = [