Unverified Commit 30a4bbc8 authored by Theodore Ni's avatar Theodore Ni
Browse files

gphotos-sync: relax build dependencies

parent 118c2681
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -21,7 +21,19 @@ python3.pkgs.buildPythonApplication rec {
    ./skip-network-tests.patch
  ];

  nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ];
  # Consider fixing this upstream by following up on:
  # https://github.com/gilesknap/gphotos-sync/issues/441
  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace "setuptools<57" "setuptools" \
      --replace "wheel==0.33.1" "wheel"
  '';

  nativeBuildInputs = with python3.pkgs; [
    pythonRelaxDepsHook
    setuptools
    wheel
  ];

  pythonRelaxDeps = [
    "psutil"