python313Packages.ffmpeg-progress-yield: 1.0.2 -> 1.0.5 (#462716)
This commit is contained in:
@@ -3,30 +3,28 @@
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
uv-build,
|
||||
tqdm,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
ffmpeg,
|
||||
procps,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ffmpeg-progress-yield";
|
||||
version = "1.0.2";
|
||||
version = "1.0.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "slhck";
|
||||
repo = "ffmpeg-progress-yield";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-tX4CioyhZvHNe5PItNwCF68ZQhs4fpG1ZrloGtei07I=";
|
||||
hash = "sha256-L3q0Tyh0e1qBV13NRlFxjS/39uKfJWVeN/AGXH+Jss8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
build-system = [ uv-build ];
|
||||
|
||||
dependencies = [
|
||||
tqdm
|
||||
@@ -39,8 +37,6 @@ buildPythonPackage rec {
|
||||
procps
|
||||
];
|
||||
|
||||
enabledTestPaths = [ "test/test.py" ];
|
||||
|
||||
disabledTests = lib.optional stdenv.hostPlatform.isDarwin [
|
||||
# cannot access /usr/bin/pgrep from the sandbox
|
||||
"test_context_manager"
|
||||
@@ -53,12 +49,15 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "ffmpeg_progress_yield" ];
|
||||
|
||||
meta = with lib; {
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Run an ffmpeg command with progress";
|
||||
mainProgram = "ffmpeg-progress-yield";
|
||||
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 ];
|
||||
changelog = "https://github.com/slhck/ffmpeg-progress-yield/blob/${src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ prusnak ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user