1{ lib, buildPythonPackage, fetchPypi, isPy3k
2, async-timeout }:
3
4buildPythonPackage rec {
5 pname = "ha-ffmpeg";
6 version = "3.0.2";
7
8 disabled = !isPy3k;
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "8d92f2f5790da038d828ac862673e0bb43e8e972e4c70b1714dd9a0fb776c8d1";
13 };
14
15 propagatedBuildInputs = [ async-timeout ];
16
17 # only manual tests
18 doCheck = false;
19
20 pythonImportsCheck = [
21 "haffmpeg.camera"
22 "haffmpeg.sensor"
23 "haffmpeg.tools"
24 ];
25
26 meta = with lib; {
27 homepage = "https://github.com/pvizeli/ha-ffmpeg";
28 description = "Library for home-assistant to handle ffmpeg";
29 license = licenses.bsd3;
30 maintainers = teams.home-assistant.members;
31 };
32}