Merge pull request #113842 from fabaff/bump-libcec
python3Packages.pycec: init at 0.5.1
This commit is contained in:
commit
ea4a67a40f
35
pkgs/development/python-modules/pycec/default.nix
Normal file
35
pkgs/development/python-modules/pycec/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -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
|
||||||
|
@ -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 { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user