Files
nixpkgs/pkgs/development/python-modules/aiobafi6/default.nix
T
2025-07-04 07:57:05 +02:00

47 lines
919 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
protobuf,
pytest-asyncio,
pytestCheckHook,
zeroconf,
}:
buildPythonPackage rec {
pname = "aiobafi6";
version = "0.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jfroy";
repo = "aiobafi6";
tag = version;
hash = "sha256-7NIpIRVs6PFPByrGfVDA6P7JTvXGrzbH/lOPdPfZH04=";
};
build-system = [ poetry-core ];
dependencies = [
protobuf
zeroconf
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aiobafi6" ];
meta = with lib; {
description = "Library for communication with the Big Ass Fans i6 firmware";
homepage = "https://github.com/jfroy/aiobafi6";
changelog = "https://github.com/jfroy/aiobafi6/releases/tag/${src.tag}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "aiobafi6";
};
}