Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 28 lines 652 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, isPy3k 2, ffmpeg, async-timeout }: 3 4buildPythonPackage rec { 5 pname = "ha-ffmpeg"; 6 version = "1.11"; 7 8 disabled = !isPy3k; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "386cc5bbec3a341d8bafec1c524bd8e64f41f9be8195808dec80f76661bf1cc3"; 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}