depot/third_party/nixpkgs/pkgs/development/python-modules/ffmpeg-progress-yield/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

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 ];
};
}