python3Packages.airpatrol: init at 0.1.0

This commit is contained in:
Jamie Magee
2026-02-16 21:26:45 -08:00
parent f2a96e04f2
commit 0013fa0fbb
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-asyncio,
setuptools,
}:
buildPythonPackage rec {
pname = "airpatrol";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "antondalgren";
repo = "airpatrol";
tag = "v${version}";
hash = "sha256-KPch1GsJ5my43d9SVpwGA2EmrkmeBGJWAkY51rDofTk=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "airpatrol" ];
meta = {
description = "Python package for interacting with AirPatrol devices";
homepage = "https://github.com/antondalgren/airpatrol";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jamiemagee ];
};
}
+2
View File
@@ -584,6 +584,8 @@ self: super: with self; {
airos = callPackage ../development/python-modules/airos { };
airpatrol = callPackage ../development/python-modules/airpatrol { };
airportsdata = callPackage ../development/python-modules/airportsdata { };
airthings-ble = callPackage ../development/python-modules/airthings-ble { };