2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
aiohttp,
|
|
|
|
buildPythonPackage,
|
|
|
|
click,
|
|
|
|
fetchPypi,
|
|
|
|
jsonpickle,
|
|
|
|
requests,
|
|
|
|
tabulate,
|
|
|
|
xmltodict,
|
|
|
|
zeroconf,
|
2021-03-09 03:18:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyvizio";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.1.61";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-AtqMWe2zgRqOp5S9oKq7keHNHM8pnTmV1mfGiVzygTc=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
click
|
|
|
|
jsonpickle
|
|
|
|
requests
|
|
|
|
tabulate
|
|
|
|
xmltodict
|
|
|
|
zeroconf
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pyvizio" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python client for Vizio SmartCast";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pyvizio";
|
2021-03-09 03:18:52 +00:00
|
|
|
homepage = "https://github.com/vkorn/pyvizio";
|
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|