summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-05-25 23:12:42 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-05-28 20:24:28 +0000
commit299739821b0ed29dbd40c7b06c8bf47d7a94268d (patch)
tree0f73901bd9022e179b9b3992fa94e257545793b4
parentb2ea8027e4d43b652293448eeafe564b53ca2a94 (diff)
python310Packages.trio-websocket: 0.9.2 -> 0.10.2
Fixes the build on Python 3.11.

https://github.com/HyperionGray/trio-websocket/blob/0.10.2/CHANGELOG.md
https://github.com/HyperionGray/trio-websocket/compare/0.9.2...0.10.2
(cherry picked from commit 1b130c8ababc2db6e8f4ae18b37c9b1601f13e6c)
-rw-r--r--pkgs/development/python-modules/trio-websocket/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/trio-websocket/default.nix b/pkgs/development/python-modules/trio-websocket/default.nix
index c499812dd0b78..362cefdde16ee 100644
--- a/pkgs/development/python-modules/trio-websocket/default.nix
+++ b/pkgs/development/python-modules/trio-websocket/default.nix
@@ -1,7 +1,7 @@
 { lib
 , buildPythonPackage
 , fetchFromGitHub
-, async_generator
+, exceptiongroup
 , pytest-trio
 , pytestCheckHook
 , trio
@@ -11,17 +11,18 @@
 
 buildPythonPackage rec {
   pname = "trio-websocket";
-  version = "0.9.2";
+  version = "0.10.2";
+  format = "setuptools";
 
   src = fetchFromGitHub {
     owner = "HyperionGray";
     repo = "trio-websocket";
     rev = version;
-    hash = "sha256-8VrpI/pk5IhEvqzo036cnIbJ1Hu3UfQ6GHTNkNJUYvo=";
+    hash = "sha256-djoTxkIKY52l+WnxL1FwlqrU/zvsLVkPUAHn9BxJ45k=";
   };
 
   propagatedBuildInputs = [
-    async_generator
+    exceptiongroup
     trio
     wsproto
   ];
@@ -35,7 +36,9 @@ buildPythonPackage rec {
   pythonImportsCheck = [ "trio_websocket" ];
 
   meta = with lib; {
+    changelog = "https://github.com/HyperionGray/trio-websocket/blob/${version}/CHANGELOG.md";
     description = "WebSocket client and server implementation for Python Trio";
+    homepage = "https://github.com/HyperionGray/trio-websocket";
     license = licenses.mit;
     maintainers = with maintainers; [ SuperSandro2000 ];
   };