41 lines
867 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aioairzone-cloud";
version = "0.7.1";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "Noltari";
repo = "aioairzone-cloud";
tag = version;
hash = "sha256-BolgPHN7lc98kYWf1qDNvf1z5WNoDtAIvbY8+sgwB+E=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "aioairzone_cloud" ];
# Module has no tests
doCheck = false;
meta = with lib; {
description = "Library to control Airzone via Cloud API";
homepage = "https://github.com/Noltari/aioairzone-cloud";
changelog = "https://github.com/Noltari/aioairzone-cloud/releases/tag/${src.tag}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}