depot/third_party/nixpkgs/pkgs/development/python-modules/aioairzone-cloud/default.nix
Default email 555cd8a8f9 Project import generated by Copybara.
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
2024-10-09 18:51:18 +02:00

40 lines
882 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aioairzone-cloud";
version = "0.6.6";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "Noltari";
repo = "aioairzone-cloud";
rev = "refs/tags/${version}";
hash = "sha256-a1UsRmDCieCMblH2SpNujDj98GjqDcMN6+TRAWkkV3I=";
};
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/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}