mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
python310Packages.trio-websocket: init at 0.9.2
This commit is contained in:
parent
d8c380026c
commit
2dce5a7204
42
pkgs/development/python-modules/trio-websocket/default.nix
Normal file
42
pkgs/development/python-modules/trio-websocket/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user