forked from mirrors/nixpkgs
Merge pull request #174349 from dotlambda/panasonic-viera-init
home-assistant: support panasonic_viera component
This commit is contained in:
commit
6a7dafe13f
38
pkgs/development/python-modules/panasonic-viera/default.nix
Normal file
38
pkgs/development/python-modules/panasonic-viera/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue