Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / ffmpeg-progress-yield / default.nix
blob6d0f35e27887894b33fefe43ab44fc405925a154
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , colorama
5 , tqdm
6 , pytestCheckHook
7 , pythonOlder
8 , ffmpeg
9 , procps
12 buildPythonPackage rec {
13   pname = "ffmpeg-progress-yield";
14   version = "0.7.8";
15   format = "setuptools";
17   disabled = pythonOlder "3.8";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-muauX4Mq58ew9lGPE0H+bu4bqPydNADLocujjy6qRh4=";
22   };
24   propagatedBuildInputs = [ colorama tqdm ];
26   nativeCheckInputs = [ pytestCheckHook ffmpeg procps ];
28   disabledTests = [
29     "test_quit"
30     "test_quit_gracefully"
31   ];
33   pytestFlagsArray = [ "test/test.py" ];
35   pythonImportsCheck = [ "ffmpeg_progress_yield" ];
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   };