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.3.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "sha256-/FkVzssJZYafn3MlN8bODd7kA917x9oW0JivIOWxl+8=";
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}