1{ lib 2, buildPythonPackage 3, fetchPypi 4, colorama 5, tqdm 6, pytestCheckHook 7, ffmpeg 8}: 9 10buildPythonPackage rec { 11 pname = "ffmpeg-progress-yield"; 12 version = "0.1.2"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "92ae36ff5cf38428bd3695629b5065d161c658fb0de0faf2c20cd7a99dac3820"; 17 }; 18 19 propagatedBuildInputs = [ colorama tqdm ]; 20 21 checkInputs = [ pytestCheckHook ffmpeg ]; 22 23 pytestFlagsArray = [ "test/test.py" ]; 24 25 pythonImportsCheck = [ "ffmpeg_progress_yield" ]; 26 27 meta = with lib; { 28 description = "Run an ffmpeg command with progress"; 29 homepage = "https://github.com/slhck/ffmpeg-progress-yield"; 30 license = with licenses; [ mit ]; 31 maintainers = with maintainers; [ prusnak ]; 32 }; 33}