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