1{ lib 2, buildPythonPackage 3, fetchPypi 4, colorama 5, tqdm 6, pytestCheckHook 7, pythonOlder 8, ffmpeg 9, procps 10}: 11 12buildPythonPackage rec { 13 pname = "ffmpeg-progress-yield"; 14 version = "0.7.8"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-muauX4Mq58ew9lGPE0H+bu4bqPydNADLocujjy6qRh4="; 22 }; 23 24 propagatedBuildInputs = [ colorama tqdm ]; 25 26 nativeCheckInputs = [ pytestCheckHook ffmpeg procps ]; 27 28 disabledTests = [ 29 "test_quit" 30 "test_quit_gracefully" 31 ]; 32 33 pytestFlagsArray = [ "test/test.py" ]; 34 35 pythonImportsCheck = [ "ffmpeg_progress_yield" ]; 36 37 meta = with lib; { 38 description = "Run an ffmpeg command with progress"; 39 homepage = "https://github.com/slhck/ffmpeg-progress-yield"; 40 changelog = "https://github.com/slhck/ffmpeg-progress-yield/blob/v${version}/CHANGELOG.md"; 41 license = with licenses; [ mit ]; 42 maintainers = with maintainers; [ prusnak ]; 43 }; 44}