python3Packages.pycec: init at 0.5.1

This commit is contained in:
Fabian Affolter 2021-02-21 13:55:44 +01:00
parent e59a33db58
commit afe89f47c1
2 changed files with 37 additions and 0 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

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