9458107b2d
Diff: https://github.com/CoMPaTech/python-airos/compare/v0.6.2...v0.6.3 Changelog: https://github.com/CoMPaTech/python-airos/releases/tag/v0.6.3
53 lines
1.0 KiB
Nix
53 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
aiohttp,
|
|
mashumaro,
|
|
aiofiles,
|
|
aioresponses,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "airos";
|
|
version = "0.6.3";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CoMPaTech";
|
|
repo = "python-airos";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-d8SmV+vDik7rIElVwPUkWdRtHyqLLLNJCkphNzdD6W4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
mashumaro
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
aiofiles
|
|
aioresponses
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "airos" ];
|
|
|
|
meta = {
|
|
description = "Ubiquity airOS module(s) for Python 3";
|
|
homepage = "https://github.com/CoMPaTech/python-airos";
|
|
changelog = "https://github.com/CoMPaTech/python-airos/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.jamiemagee ];
|
|
};
|
|
})
|