841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
37 lines
718 B
Nix
37 lines
718 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, aiohttp
|
|
, jsonrpc-base
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jsonrpc-websocket";
|
|
version = "3.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "eeaaac2330f6f1cdafd378ddf5287a47a7c8609ab212a2f576121c1e61c7a344";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
jsonrpc-base
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
pytest-asyncio
|
|
];
|
|
|
|
pytestFlagsArray = [ "tests.py" ];
|
|
|
|
meta = with lib; {
|
|
description = "A JSON-RPC websocket client library for asyncio";
|
|
homepage = "https://github.com/emlove/jsonrpc-websocket";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
};
|
|
}
|