fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
45 lines
804 B
Nix
45 lines
804 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
click,
|
|
fetchPypi,
|
|
jsonpickle,
|
|
requests,
|
|
tabulate,
|
|
xmltodict,
|
|
zeroconf,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyvizio";
|
|
version = "0.1.61";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-AtqMWe2zgRqOp5S9oKq7keHNHM8pnTmV1mfGiVzygTc=";
|
|
};
|
|
|
|
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";
|
|
mainProgram = "pyvizio";
|
|
homepage = "https://github.com/vkorn/pyvizio";
|
|
license = with licenses; [ gpl3Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|