10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
18 owner = "konikvranik";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-5KQyHjAvHWeHFqcFHFJxDOPwWuVcFAN2wVdz9a77dzU=";
24 propagatedBuildInputs = [ libcec ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pythonImportsCheck = [ "pycec" ];
31 description = "Python modules to access HDMI CEC devices";
32 mainProgram = "pycec";
33 homepage = "https://github.com/konikvranik/pycec/";
34 license = with licenses; [ mit ];
35 maintainers = with maintainers; [ fab ];