depot/third_party/nixpkgs/pkgs/development/python-modules/ffmpeg-progress-yield/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

44 lines
971 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, colorama
, tqdm
, pytestCheckHook
, pythonOlder
, ffmpeg
, procps
}:
buildPythonPackage rec {
pname = "ffmpeg-progress-yield";
version = "0.7.8";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-muauX4Mq58ew9lGPE0H+bu4bqPydNADLocujjy6qRh4=";
};
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";
changelog = "https://github.com/slhck/ffmpeg-progress-yield/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ prusnak ];
};
}