Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 52 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, setuptools, aiohttp, mashumaro, aiofiles, aioresponses, pytest-asyncio, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "airos"; version = "0.6.4"; pyproject = true;
disabled = pythonOlder "3.13";
src = fetchFromGitHub { owner = "CoMPaTech"; repo = "python-airos"; tag = "v${finalAttrs.version}"; hash = "sha256-PXi4wZv8BcEdFcFvrlxryrp3JTEjDXydnkEKMud8IJc="; };
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 ]; };})