a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
40 lines
828 B
Nix
40 lines
828 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, colorama
|
|
, tqdm
|
|
, pytestCheckHook
|
|
, ffmpeg
|
|
, procps
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ffmpeg-progress-yield";
|
|
version = "0.7.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-rt+Qg1H9t5PC4cyis9xuyf8myfxWLkTq3aD83+O4qmA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ colorama tqdm ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ffmpeg procps ];
|
|
|
|
disabledTests = [
|
|
"test_quit"
|
|
"test_quit_gracefully"
|
|
];
|
|
|
|
pytestFlagsArray = [ "test/test.py" ];
|
|
|
|
pythonImportsCheck = [ "ffmpeg_progress_yield" ];
|
|
|
|
meta = with lib; {
|
|
description = "Run an ffmpeg command with progress";
|
|
homepage = "https://github.com/slhck/ffmpeg-progress-yield";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ prusnak ];
|
|
};
|
|
}
|