Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 58 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, aiohttp, aresponses, buildPythonPackage, certifi, fetchFromGitHub, poetry-core, pydantic, pytest-aiohttp, pytest-asyncio, pytestCheckHook,}:
buildPythonPackage rec { pname = "aiopurpleair"; version = "2025.08.1"; pyproject = true;
src = fetchFromGitHub { owner = "bachya"; repo = "aiopurpleair"; tag = version; hash = "sha256-VmKIIgfZFk9z8WORDHA4ibL4FZchiRrT6L0rCkxosoc="; };
build-system = [ poetry-core ];
dependencies = [ aiohttp pydantic certifi ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [ aresponses pytest-aiohttp pytest-asyncio pytestCheckHook ];
disabledTestPaths = [ # Ignore the examples directory as the files are prefixed with test_. "examples/" ];
pythonImportsCheck = [ "aiopurpleair" ];
meta = { description = "Python library for interacting with the PurpleAir API"; homepage = "https://github.com/bachya/aiopurpleair"; changelog = "https://github.com/bachya/aiopurpleair/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };}