2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, isPy3k
|
2020-06-07 13:39:09 +01:00
|
|
|
, ffmpeg_3, async-timeout }:
|
2018-02-28 05:39:47 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ha-ffmpeg";
|
2020-11-25 14:08:42 +00:00
|
|
|
version = "3.0.2";
|
2018-02-28 05:39:47 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-25 14:08:42 +00:00
|
|
|
sha256 = "8d92f2f5790da038d828ac862673e0bb43e8e972e4c70b1714dd9a0fb776c8d1";
|
2018-02-28 05:39:47 +00:00
|
|
|
};
|
|
|
|
|
2020-06-07 13:39:09 +01:00
|
|
|
buildInputs = [ ffmpeg_3 ];
|
2018-02-28 05:39:47 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ async-timeout ];
|
|
|
|
|
|
|
|
# only manual tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/pvizeli/ha-ffmpeg";
|
2018-02-28 05:39:47 +00:00
|
|
|
description = "Library for home-assistant to handle ffmpeg";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|