python3Packages.vizaio: init at 0.6.1

This commit is contained in:
Jamie Magee
2026-08-07 09:08:09 -07:00
parent 0585182a35
commit 12e92179e9
2 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
hatchling,
platformdirs,
pyprojectVersionPatchHook,
pytest-asyncio,
pytestCheckHook,
rich,
tomlkit,
typer,
zeroconf,
}:
buildPythonPackage (finalAttrs: {
pname = "vizaio";
version = "0.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "raman325";
repo = "vizaio";
tag = "v${finalAttrs.version}";
hash = "sha256-u0ZHSHzkGna9ajmV7V3n8YKPuI598acnXhIEBXvnU2I=";
};
nativeBuildInputs = [ pyprojectVersionPatchHook ];
build-system = [ hatchling ];
dependencies = [ aiohttp ];
optional-dependencies = {
cli = [
platformdirs
rich
tomlkit
typer
];
discovery = [ zeroconf ];
};
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
]
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
pythonImportsCheck = [ "vizaio" ];
meta = {
description = "Modern async Python client and CLI for Vizio SmartCast devices";
homepage = "https://github.com/raman325/vizaio";
changelog = "https://github.com/raman325/vizaio/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
mainProgram = "vizaio";
};
})

View File

@@ -22255,6 +22255,8 @@ self: super: with self; {
inherit (pkgs.libsForQt5) wrapQtAppsHook;
};
vizaio = callPackage ../development/python-modules/vizaio { };
vl-convert-python = callPackage ../development/python-modules/vl-convert-python {
inherit (pkgs) protobuf;
};