f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
41 lines
774 B
Nix
41 lines
774 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
poetry-core,
|
|
aiohttp,
|
|
pycryptodome,
|
|
xmltodict,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "panasonic-viera";
|
|
version = "0.4.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "panasonic_viera";
|
|
inherit version;
|
|
hash = "sha256-gcFAFwEdCqiC1yHIA2B/gzmwvRwMC9fDxkgCbzIOpjM=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
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 ];
|
|
};
|
|
}
|