1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 aiobotocore,
5 aiohttp,
6 lib,
7 poetry-core,
8 pycognito,
9 pytest-aiohttp,
10 pytest-asyncio,
11 pytest-cov-stub,
12 pytestCheckHook,
13 syrupy,
14 tenacity,
15 yarl,
16}:
17
18buildPythonPackage rec {
19 pname = "nice-go";
20 version = "1.0.1";
21 pyproject = true;
22
23 src = fetchFromGitHub {
24 owner = "IceBotYT";
25 repo = "nice-go";
26 tag = version;
27 hash = "sha256-8hm2kB1axv2oqMLSKmquFLe7jsTFO+HYnCz5vL4ve/A=";
28 };
29
30 build-system = [ poetry-core ];
31
32 pythonRelaxDeps = [ "tenacity" ];
33
34 dependencies = [
35 aiobotocore
36 aiohttp
37 pycognito
38 tenacity
39 yarl
40 ];
41
42 pythonImportsCheck = [ "nice_go" ];
43
44 nativeCheckInputs = [
45 pytest-aiohttp
46 pytest-asyncio
47 pytest-cov-stub
48 pytestCheckHook
49 syrupy
50 ];
51
52 meta = {
53 changelog = "https://github.com/IceBotYT/nice-go/blob/${src.tag}/CHANGELOG.md";
54 description = "Control various Nice access control products";
55 homepage = "https://github.com/IceBotYT/nice-go";
56 license = lib.licenses.mit;
57 maintainers = with lib.maintainers; [ dotlambda ];
58 };
59}