diff options
author | Ryan Horiguchi <ryan.horiguchi@gmail.com> | 2024-01-18 17:46:00 +0100 |
---|---|---|
committer | Ryan Horiguchi <ryan.horiguchi@gmail.com> | 2024-01-18 17:46:00 +0100 |
commit | e12ddcf33e4818e2220f0ef769dc849db5f121a7 (patch) | |
tree | 5b4a4cacb73aaa4371843974a75fabbdc67cc92f /pkgs/tools/backup | |
parent | e19e51fd6e9ddbe38cb5b50db42a8de2262b9989 (diff) | |
download | nixlib-e12ddcf33e4818e2220f0ef769dc849db5f121a7.tar nixlib-e12ddcf33e4818e2220f0ef769dc849db5f121a7.tar.gz nixlib-e12ddcf33e4818e2220f0ef769dc849db5f121a7.tar.bz2 nixlib-e12ddcf33e4818e2220f0ef769dc849db5f121a7.tar.lz nixlib-e12ddcf33e4818e2220f0ef769dc849db5f121a7.tar.xz nixlib-e12ddcf33e4818e2220f0ef769dc849db5f121a7.tar.zst nixlib-e12ddcf33e4818e2220f0ef769dc849db5f121a7.zip |
gphotos-sync: 3.1.2 -> 3.2.1
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r-- | pkgs/tools/backup/gphotos-sync/default.nix | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/pkgs/tools/backup/gphotos-sync/default.nix b/pkgs/tools/backup/gphotos-sync/default.nix index 74c442c09583..9fefd79c3c62 100644 --- a/pkgs/tools/backup/gphotos-sync/default.nix +++ b/pkgs/tools/backup/gphotos-sync/default.nix @@ -5,41 +5,26 @@ }: python3.pkgs.buildPythonApplication rec { pname = "gphotos-sync"; - version = "3.1.2"; + version = "3.2.1"; format = "pyproject"; src = fetchFromGitHub { owner = "gilesknap"; repo = "gphotos-sync"; rev = version; - hash = "sha256-lLw450Rk7tIENFTZWHoinkhv3VtctDv18NKxhox+NgI="; + hash = "sha256-iTqD/oUQqC7Fju8SEPkSZX7FC9tE4eRCewiJR8STmEw="; }; patches = [ ./skip-network-tests.patch ]; - # 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 setuptools-scm wheel ]; - pythonRelaxDeps = [ - "psutil" - "exif" - "pyyaml" - ]; - propagatedBuildInputs = with python3.pkgs; [ appdirs attrs @@ -63,9 +48,8 @@ python3.pkgs.buildPythonApplication rec { ]; preCheck = '' + export PY_IGNORE_IMPORTMISMATCH=1 export HOME=$(mktemp -d) - substituteInPlace setup.cfg \ - --replace "--cov=gphotos_sync --cov-report term --cov-report xml:cov.xml" "" ''; meta = with lib; { |