mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-10 15:23:43 +00:00
53 lines
985 B
Nix
53 lines
985 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
async-timeout,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytest-asyncio,
|
|
pytest-cov-stub,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
slixmpp,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioharmony";
|
|
version = "1.0.8";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Harmony-Libs";
|
|
repo = "aioharmony";
|
|
tag = "v${version}";
|
|
hash = "sha256-7K/I71yonmAqLp12Hk8e72BBfF/sez1cFdQbnixDdbg=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
async-timeout
|
|
slixmpp
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
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 ];
|
|
};
|
|
}
|