5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
40 lines
881 B
Nix
40 lines
881 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioairzone-cloud";
|
|
version = "0.5.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Noltari";
|
|
repo = "aioairzone-cloud";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-L5Gb+V0W+9duGV6lRc01jrAfh4U+MS77Y238EeXe0TU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|