2018-02-28 05:39:47 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, ffmpeg, async-timeout }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ha-ffmpeg";
|
2019-02-14 07:37:17 +00:00
|
|
|
version = "1.11";
|
2018-02-28 05:39:47 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:17 +00:00
|
|
|
sha256 = "386cc5bbec3a341d8bafec1c524bd8e64f41f9be8195808dec80f76661bf1cc3";
|
2018-02-28 05:39:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ffmpeg ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ async-timeout ];
|
|
|
|
|
|
|
|
# only manual tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/pvizeli/ha-ffmpeg;
|
|
|
|
description = "Library for home-assistant to handle ffmpeg";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|