1{
2 aiohttp,
3 buildPythonPackage,
4 docker,
5 fetchFromGitHub,
6 lib,
7 msgpack,
8 orjson,
9 poetry-core,
10 pytest-asyncio,
11 pytestCheckHook,
12 requests,
13 websockets,
14}:
15
16buildPythonPackage rec {
17 pname = "pysignalr";
18 version = "1.3.0";
19 pyproject = true;
20
21 src = fetchFromGitHub {
22 owner = "baking-bad";
23 repo = "pysignalr";
24 tag = version;
25 hash = "sha256-3VZuS5q4b85Kuk2B00AeVpLGO232GN8tlfu6UaGmzjE=";
26 };
27
28 build-system = [ poetry-core ];
29
30 dependencies = [
31 aiohttp
32 msgpack
33 orjson
34 websockets
35 ];
36
37 pythonImportsCheck = [ "pysignalr" ];
38
39 nativeCheckInputs = [
40 docker
41 pytest-asyncio
42 pytestCheckHook
43 requests
44 ];
45
46 meta = {
47 changelog = "https://github.com/baking-bad/pysignalr/blob/${src.tag}/CHANGELOG.md";
48 description = "Modern, reliable and async-ready client for SignalR protocol";
49 homepage = "https://github.com/baking-bad/pysignalr";
50 license = lib.licenses.mit;
51 maintainers = with lib.maintainers; [ dotlambda ];
52 };
53}