Unverified Commit 32caa494 authored by Pavol Rusnak's avatar Pavol Rusnak Committed by GitHub
Browse files

python313Packages.ffmpeg-progress-yield: 1.0.2 -> 1.0.5 (#462716)

parents e7fc117d 563f8d29
Loading
Loading
Loading
Loading
+12 −13
Original line number Diff line number Diff line
@@ -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 ];
  };
}