python3Packages.pycec: init at 0.5.1
This commit is contained in:
parent
e59a33db58
commit
afe89f47c1
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in New Issue