You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
701 B
32 lines
701 B
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
|
, async-timeout }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ha-ffmpeg";
|
|
version = "3.0.2";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "8d92f2f5790da038d828ac862673e0bb43e8e972e4c70b1714dd9a0fb776c8d1";
|
|
};
|
|
|
|
propagatedBuildInputs = [ async-timeout ];
|
|
|
|
# only manual tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"haffmpeg.camera"
|
|
"haffmpeg.sensor"
|
|
"haffmpeg.tools"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/pvizeli/ha-ffmpeg";
|
|
description = "Library for home-assistant to handle ffmpeg";
|
|
license = licenses.bsd3;
|
|
maintainers = teams.home-assistant.members;
|
|
};
|
|
}
|
|
|