60 lines
1.1 KiB
Nix
60 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.8";
|
||
|
pyproject = true;
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "IceBotYT";
|
||
|
repo = "nice-go";
|
||
|
rev = "refs/tags/${version}";
|
||
|
hash = "sha256-d035AA8N2yjkUJh2TBqkp2RLvH89cJXC4mFrny1sJ6k=";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|