gphotos-sync: relax build dependencies

This commit is contained in:
Theodore Ni 2023-08-26 00:45:47 -07:00
parent 118c2681fb
commit 30a4bbc896
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -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"