2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
2021-05-03 20:48:10 +00:00
|
|
|
, async-timeout }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ha-ffmpeg";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "3.0.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "8d92f2f5790da038d828ac862673e0bb43e8e972e4c70b1714dd9a0fb776c8d1";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ async-timeout ];
|
|
|
|
|
|
|
|
# only manual tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"haffmpeg.camera"
|
|
|
|
"haffmpeg.sensor"
|
|
|
|
"haffmpeg.tools"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/pvizeli/ha-ffmpeg";
|
|
|
|
description = "Library for home-assistant to handle ffmpeg";
|
|
|
|
license = licenses.bsd3;
|
2021-05-03 20:48:10 +00:00
|
|
|
maintainers = teams.home-assistant.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|