summary refs log blame commit diff
path: root/pkgs/development/python-modules/ffmpeg-progress-yield/default.nix
blob: add6f3f90c5663ad08485fb3380328354a517a6c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                  
                    


                          
                                                                                
















                                                                
{ lib
, buildPythonPackage
, fetchPypi
, colorama
, tqdm
, pytestCheckHook
, ffmpeg
}:

buildPythonPackage rec {
  pname = "ffmpeg-progress-yield";
  version = "0.2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "26696726cc70c019d1b76bb25e4823c93f0837ddc86bc4ea26c08165270b4d92";
  };

  propagatedBuildInputs = [ colorama tqdm ];

  checkInputs = [ pytestCheckHook ffmpeg ];

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