python3Packages.airos: init at 0.2.4 (#432304)

This commit is contained in:
Martin Weinelt
2025-08-10 14:55:22 +02:00
committed by GitHub
3 changed files with 57 additions and 1 deletions
@@ -0,0 +1,52 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
aiohttp,
mashumaro,
aiofiles,
aioresponses,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "airos";
version = "0.2.4";
pyproject = true;
disabled = pythonOlder "3.13";
src = fetchFromGitHub {
owner = "CoMPaTech";
repo = "python-airos";
tag = "v${version}";
hash = "sha256-zY0XPucCXiJDo9C4GiDqs/lxQDTphs/mBXBqSYPvkoI=";
};
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/v${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
@@ -114,7 +114,8 @@
];
"airos" =
ps: with ps; [
]; # missing inputs: airos
airos
];
"airq" =
ps: with ps; [
aioairq
@@ -6867,6 +6868,7 @@
"airgradient"
"airly"
"airnow"
"airos"
"airq"
"airthings"
"airthings_ble"
+2
View File
@@ -554,6 +554,8 @@ self: super: with self; {
airly = callPackage ../development/python-modules/airly { };
airos = callPackage ../development/python-modules/airos { };
airportsdata = callPackage ../development/python-modules/airportsdata { };
airthings-ble = callPackage ../development/python-modules/airthings-ble { };