python310Packages.trio-websocket: init at 0.9.2

This commit is contained in:
Sandro Jäckel 2022-06-04 02:22:55 +02:00 committed by Jonathan Ringer
parent d8c380026c
commit 2dce5a7204
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, async_generator
, pytest-trio
, pytestCheckHook
, trio
, trustme
, wsproto
}:
buildPythonPackage rec {
pname = "trio-websocket";
version = "0.9.2";
src = fetchFromGitHub {
owner = "HyperionGray";
repo = "trio-websocket";
rev = version;
sha256 = "sha256-8VrpI/pk5IhEvqzo036cnIbJ1Hu3UfQ6GHTNkNJUYvo=";
};
propagatedBuildInputs = [
async_generator
trio
wsproto
];
checkInputs = [
pytest-trio
pytestCheckHook
trustme
];
pythonImportsCheck = [ "trio_websocket" ];
meta = with lib; {
description = "WebSocket client and server implementation for Python Trio";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@ -10599,6 +10599,8 @@ in {
trio-asyncio = callPackage ../development/python-modules/trio-asyncio { };
trio-websocket = callPackage ../development/python-modules/trio-websocket { };
trueskill = callPackage ../development/python-modules/trueskill { };
trustme = callPackage ../development/python-modules/trustme { };