7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
aiobotocore,
|
|
aiohttp,
|
|
lib,
|
|
poetry-core,
|
|
pycognito,
|
|
pytest-aiohttp,
|
|
pytest-asyncio,
|
|
pytest-cov-stub,
|
|
pytestCheckHook,
|
|
syrupy,
|
|
tenacity,
|
|
yarl,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nice-go";
|
|
version = "0.3.9";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "IceBotYT";
|
|
repo = "nice-go";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-Gb6VDHADtqmVXMPwic0NokWm5GmhTpy7g+o/rYxrBZk=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
pythonRelaxDeps = [ "tenacity" ];
|
|
|
|
dependencies = [
|
|
aiobotocore
|
|
aiohttp
|
|
pycognito
|
|
tenacity
|
|
yarl
|
|
];
|
|
|
|
pythonImportsCheck = [ "nice_go" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-aiohttp
|
|
pytest-asyncio
|
|
pytest-cov-stub
|
|
pytestCheckHook
|
|
syrupy
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/IceBotYT/nice-go/blob/${src.rev}/CHANGELOG.md";
|
|
description = "Control various Nice access control products";
|
|
homepage = "https://github.com/IceBotYT/nice-go";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|