biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / ffmpeg-progress-yield / default.nix
blob4f3baf7fe8dbec6b7d71c19823f434ba63c41e4f
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   colorama,
6   tqdm,
7   pytestCheckHook,
8   pythonOlder,
9   ffmpeg,
10   procps,
13 buildPythonPackage rec {
14   pname = "ffmpeg-progress-yield";
15   version = "0.9.1";
16   format = "setuptools";
18   disabled = pythonOlder "3.8";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-n6zHi6M9SyrNm8MhQ9xvBo2OIzoQYJ4yhgujW5C6QWY=";
23   };
25   propagatedBuildInputs = [
26     colorama
27     tqdm
28   ];
30   nativeCheckInputs = [
31     pytestCheckHook
32     ffmpeg
33     procps
34   ];
36   disabledTests = [
37     "test_quit"
38     "test_quit_gracefully"
39   ];
41   pytestFlagsArray = [ "test/test.py" ];
43   pythonImportsCheck = [ "ffmpeg_progress_yield" ];
45   meta = with lib; {
46     description = "Run an ffmpeg command with progress";
47     mainProgram = "ffmpeg-progress-yield";
48     homepage = "https://github.com/slhck/ffmpeg-progress-yield";
49     changelog = "https://github.com/slhck/ffmpeg-progress-yield/blob/v${version}/CHANGELOG.md";
50     license = with licenses; [ mit ];
51     maintainers = with maintainers; [ prusnak ];
52   };