2018-02-28 05:39:47 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, ffmpeg, async-timeout }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ha-ffmpeg";
|
2019-10-24 07:47:35 +01:00
|
|
|
version = "2.0";
|
2018-02-28 05:39:47 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:35 +01:00
|
|
|
sha256 = "230f2fa990c9caaff1c67c2227b64756062248083849651a9bec7d599e519a42";
|
2018-02-28 05:39:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ffmpeg ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ async-timeout ];
|
|
|
|
|
|
|
|
# only manual tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.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 ];
|
|
|
|
};
|
|
|
|
}
|