depot/third_party/nixpkgs/pkgs/development/python-modules/pyvizio/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

45 lines
802 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;
hash = "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 ];
};
}