Files
nixpkgs/pkgs/development/python-modules/nice-go/default.nix
T
2026-02-01 17:41:08 +01:00

63 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 = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "IceBotYT";
repo = "nice-go";
tag = version;
hash = "sha256-8hm2kB1axv2oqMLSKmquFLe7jsTFO+HYnCz5vL4ve/A=";
};
build-system = [ poetry-core ];
pythonRelaxDeps = [
"aiobotocore"
"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.tag}/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 ];
};
}