Merge pull request #127471 from dotlambda/pyheos-init

This commit is contained in:
Martin Weinelt 2021-06-19 18:07:03 +02:00 committed by GitHub
commit 04d71a1dc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyheos";
version = "0.7.2";
src = fetchFromGitHub {
owner = "andrewsayre";
repo = "pyheos";
rev = version;
sha256 = "0rgzg7lnqzzqrjp73c1hj1hq8p0j0msyih3yr4wa2rj81s8ihmby";
};
checkInputs = [
pytest-asyncio
pytestCheckHook
];
disabledTests = [
# accesses network
"test_connect_timeout"
];
pythonImportsCheck = [ "pyheos" ];
meta = with lib; {
description = "Async python library for controlling HEOS devices through the HEOS CLI Protocol";
homepage = "https://github.com/andrewsayre/pyheos";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -344,7 +344,7 @@
"hddtemp" = ps: with ps; [ ];
"hdmi_cec" = ps: with ps; [ pycec ];
"heatmiser" = ps: with ps; [ ]; # missing inputs: heatmiserV3
"heos" = ps: with ps; [ ]; # missing inputs: pyheos
"heos" = ps: with ps; [ pyheos ];
"here_travel_time" = ps: with ps; [ ]; # missing inputs: herepy
"hikvision" = ps: with ps; [ ]; # missing inputs: pyhik
"hikvisioncam" = ps: with ps; [ ]; # missing inputs: hikvision

View File

@ -440,6 +440,7 @@ in with py.pkgs; buildPythonApplication rec {
"harmony"
"hassio"
"hddtemp"
"heos"
"history"
"history_stats"
"home_connect"

View File

@ -5266,6 +5266,8 @@ in {
pyflick = callPackage ../development/python-modules/pyflick { };
pyheos = callPackage ../development/python-modules/pyheos { };
pynndescent = callPackage ../development/python-modules/pynndescent { };
pynobo = callPackage ../development/python-modules/pynobo { };