Unverified Commit 1b130c8a authored by Martin Weinelt's avatar Martin Weinelt
Browse files
parent 45ed0820
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
{ 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 ];
  };