2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2024-07-27 06:49:29 +00:00
|
|
|
poetry-core,
|
2024-06-05 15:53:02 +00:00
|
|
|
aiohttp,
|
|
|
|
pycryptodome,
|
|
|
|
xmltodict,
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "panasonic-viera";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.4.2";
|
|
|
|
pyproject = true;
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "panasonic_viera";
|
|
|
|
inherit version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-gcFAFwEdCqiC1yHIA2B/gzmwvRwMC9fDxkgCbzIOpjM=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
build-system = [ poetry-core ];
|
|
|
|
|
|
|
|
dependencies = [
|
2022-06-16 17:23:12 +00:00
|
|
|
aiohttp
|
|
|
|
pycryptodome
|
|
|
|
xmltodict
|
|
|
|
];
|
|
|
|
|
|
|
|
# upstream has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "panasonic_viera" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Library to control Panasonic Viera TVs";
|
|
|
|
homepage = "https://github.com/florianholzapfel/panasonic-viera";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|