Diff: https://github.com/Noltari/aioairzone-cloud/compare/refs/tags/0.2.2...0.2.4 Changelog: https://github.com/Noltari/aioairzone-cloud/releases/tag/0.2.4
48 lines
927 B
Nix
48 lines
927 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, setuptools
|
|
, wheel
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioairzone-cloud";
|
|
version = "0.2.4";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Noltari";
|
|
repo = "aioairzone-cloud";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-7sjiY20jDUHtEnqAMwEHsBboK9XCH5XjE0sHR82YvEA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|