blob: 530c08dbaa05f41f5dec45abfd8ab57354b23ce1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ 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 ];
};
}
|