nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
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 = [
33 "aiobotocore"
34 "tenacity"
35 ];
36
37 dependencies = [
38 aiobotocore
39 aiohttp
40 pycognito
41 tenacity
42 yarl
43 ];
44
45 pythonImportsCheck = [ "nice_go" ];
46
47 nativeCheckInputs = [
48 pytest-aiohttp
49 pytest-asyncio
50 pytest-cov-stub
51 pytestCheckHook
52 syrupy
53 ];
54
55 meta = {
56 changelog = "https://github.com/IceBotYT/nice-go/blob/${src.tag}/CHANGELOG.md";
57 description = "Control various Nice access control products";
58 homepage = "https://github.com/IceBotYT/nice-go";
59 license = lib.licenses.mit;
60 maintainers = with lib.maintainers; [ dotlambda ];
61 };
62}