Files
nixpkgs/pkgs/development/python-modules/aioharmony/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

51 lines
948 B
Nix

{
lib,
aiohttp,
async-timeout,
buildPythonPackage,
fetchFromGitHub,
pytest-cov-stub,
pytestCheckHook,
setuptools,
slixmpp,
}:
buildPythonPackage rec {
pname = "aioharmony";
version = "0.5.3";
pyproject = true;
src = fetchFromGitHub {
owner = "Harmony-Libs";
repo = "aioharmony";
tag = "v${version}";
hash = "sha256-H5zVY7LvTP8/CQtUGtXCXxOfG8GFQgdp7BY8jl9X+Gc=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
async-timeout
slixmpp
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [
"aioharmony.harmonyapi"
"aioharmony.harmonyclient"
];
meta = {
homepage = "https://github.com/Harmony-Libs/aioharmony";
description = "Python library for interacting the Logitech Harmony devices";
mainProgram = "aioharmony";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ oro ];
};
}