blob: 2cffcd53fffa479a55e655b6a1423ef4939e015b (
plain)
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
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
aiohttp,
aioresponses,
orjson,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "bond-async";
version = "0.2.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "bondhome";
repo = "bond-async";
tag = "v${version}";
hash = "sha256-YRJHUOYFLf4dtQGIFKHLdUQxWTnZzG1MPirMsGvDor8=";
};
propagatedBuildInputs = [
aiohttp
orjson
];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "bond_async" ];
meta = {
description = "Asynchronous Python wrapper library over Bond Local API";
homepage = "https://github.com/bondhome/bond-async";
changelog = "https://github.com/bondhome/bond-async/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|