summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulian Stecklina <js@alien8.de>2022-05-31 23:47:34 +0200
committerJulian Stecklina <js@alien8.de>2022-06-01 00:51:13 +0200
commita571caaf73953f13bcee834b778d2fd5d001bc12 (patch)
treebbf798a2a08056975d10211fe2064b14fdd5a89f
parent6960699739a1c36288c7f22929753afd731733ec (diff)
downloadnixpkgs-a571caaf73953f13bcee834b778d2fd5d001bc12.tar
nixpkgs-a571caaf73953f13bcee834b778d2fd5d001bc12.tar.gz
nixpkgs-a571caaf73953f13bcee834b778d2fd5d001bc12.tar.bz2
nixpkgs-a571caaf73953f13bcee834b778d2fd5d001bc12.tar.lz
nixpkgs-a571caaf73953f13bcee834b778d2fd5d001bc12.tar.xz
nixpkgs-a571caaf73953f13bcee834b778d2fd5d001bc12.tar.zst
nixpkgs-a571caaf73953f13bcee834b778d2fd5d001bc12.zip
duplicity: use pydrive2 to fix gdrive backup problems
pydrive is abandoned and has unfixed issues. In particular, Deja Dup
backups (which uses duplicity as backend) to Google Drive fail with

 Giving up after 5 attempts. RedirectMissingLocation: Redirected but
 the response is missing a Location: header.

More context and pointers are available in the Deja Dup bug tracker:
https://gitlab.gnome.org/World/deja-dup/-/issues/202#note_1306216
-rw-r--r--pkgs/tools/backup/duplicity/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/backup/duplicity/default.nix b/pkgs/tools/backup/duplicity/default.nix
index 4d83b693075..7a6a3494920 100644
--- a/pkgs/tools/backup/duplicity/default.nix
+++ b/pkgs/tools/backup/duplicity/default.nix
@@ -83,7 +83,7 @@ pythonPackages.buildPythonApplication rec {
     paramiko
     pyasn1
     pycrypto
-    pydrive
+    pydrive2
     future
   ] ++ lib.optionals (!isPy3k) [
     enum