3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #174349 from dotlambda/panasonic-viera-init

home-assistant: support panasonic_viera component
This commit is contained in:
Martin Weinelt 2022-05-25 09:43:30 +02:00 committed by GitHub
commit 6a7dafe13f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 1 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, pycryptodome
, xmltodict
}:
buildPythonPackage rec {
pname = "panasonic-viera";
version = "0.4.0";
format = "setuptools";
src = fetchPypi {
pname = "panasonic_viera";
inherit version;
sha256 = "baad2db7958ddbc7288d0f1c50a9eeddd8b83f3d30ad14ac3f6c51fe953e0eb6";
};
propagatedBuildInputs = [
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 ];
};
}

View file

@ -1949,7 +1949,8 @@
panacotta
];
"panasonic_viera" = ps: with ps; [
]; # missing inputs: panasonic_viera
panasonic-viera
];
"pandora" = ps: with ps; [
pexpect
];
@ -3548,6 +3549,7 @@
"ovo_energy"
"owntracks"
"p1_monitor"
"panasonic_viera"
"panel_custom"
"panel_iframe"
"peco"

View file

@ -6113,6 +6113,8 @@ in {
panacotta = callPackage ../development/python-modules/panacotta { };
panasonic-viera = callPackage ../development/python-modules/panasonic-viera { };
pandas = callPackage ../development/python-modules/pandas { };
pandas-datareader = callPackage ../development/python-modules/pandas-datareader { };