depot/third_party/nixpkgs/pkgs/development/python-modules/aioairzone/default.nix
Default email 24fdeddc0a Project import generated by Copybara.
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
2024-10-23 09:41:50 +03:00

40 lines
845 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aioairzone";
version = "0.9.5";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "Noltari";
repo = "aioairzone";
rev = "refs/tags/${version}";
hash = "sha256-LFMHueSz0ddZNYUL0uuC91dw1ppYcdE/EjKX0ikc+J0=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "aioairzone" ];
meta = with lib; {
description = "Module to control AirZone devices";
homepage = "https://github.com/Noltari/aioairzone";
changelog = "https://github.com/Noltari/aioairzone/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}