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