Merge pull request #113842 from fabaff/bump-libcec

python3Packages.pycec: init at 0.5.1
This commit is contained in:
Martin Weinelt 2021-02-27 17:49:22 +01:00 committed by GitHub
commit ea4a67a40f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, libcec
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pycec";
version = "0.5.1";
src = fetchFromGitHub {
owner = "konikvranik";
repo = pname;
rev = "v${version}";
sha256 = "1ivnmihajhfkwwghgl0f8n9ragpirbmbj1mhj9bmjjc29zzdc3m6";
};
propagatedBuildInputs = [
libcec
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "pycec" ];
meta = with lib; {
description = "Python modules to access HDMI CEC devices";
homepage = "https://github.com/konikvranik/pycec/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -338,7 +338,7 @@
"hassio" = ps: with ps; [ aiohttp-cors pillow ]; "hassio" = ps: with ps; [ aiohttp-cors pillow ];
"haveibeenpwned" = ps: with ps; [ ]; "haveibeenpwned" = ps: with ps; [ ];
"hddtemp" = ps: with ps; [ ]; "hddtemp" = ps: with ps; [ ];
"hdmi_cec" = ps: with ps; [ ]; # missing inputs: pyCEC "hdmi_cec" = ps: with ps; [ pycec ];
"heatmiser" = ps: with ps; [ ]; # missing inputs: heatmiserV3 "heatmiser" = ps: with ps; [ ]; # missing inputs: heatmiserV3
"heos" = ps: with ps; [ ]; # missing inputs: pyheos "heos" = ps: with ps; [ ]; # missing inputs: pyheos
"here_travel_time" = ps: with ps; [ ]; # missing inputs: herepy "here_travel_time" = ps: with ps; [ ]; # missing inputs: herepy

View File

@ -5321,6 +5321,8 @@ in {
pycdio = callPackage ../development/python-modules/pycdio { }; pycdio = callPackage ../development/python-modules/pycdio { };
pycec = callPackage ../development/python-modules/pycec { };
pycfdns = callPackage ../development/python-modules/pycfdns { }; pycfdns = callPackage ../development/python-modules/pycfdns { };
pychannels = callPackage ../development/python-modules/pychannels { }; pychannels = callPackage ../development/python-modules/pychannels { };