Files
nixpkgs/pkgs/development/python-modules/aioairq/default.nix
T
2026-03-11 21:20:18 +01:00

53 lines
1.0 KiB
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pycryptodome,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "aioairq";
version = "0.4.8";
pyproject = true;
src = fetchFromGitHub {
owner = "CorantGmbH";
repo = "aioairq";
tag = "v${finalAttrs.version}";
hash = "sha256-7hgmoFu48kYr4uonB5SOtRiQ1+Z8r2hhdqipvJN6MzU=";
};
__darwinAllowLocalNetworking = true;
build-system = [ setuptools ];
dependencies = [
aiohttp
pycryptodome
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aioairq" ];
disabledTestPaths = [
# Tests require network access
"tests/test_core_on_device.py"
];
meta = {
description = "Library to retrieve data from air-Q devices";
homepage = "https://github.com/CorantGmbH/aioairq";
changelog = "https://github.com/CorantGmbH/aioairq/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
})