Skip to content

Commit

Permalink
duplicity: use new b2sdk python package
Browse files Browse the repository at this point in the history
The backblaze library moved into the b2sdk package.
If it’s not used, duplicity fails loading the b2:// backend.

> BackendException: B2 backend requires B2 Python SDK (pip install
  b2sdk)
  • Loading branch information
Profpatsch committed Sep 21, 2020
1 parent f000c74 commit 3c03a98
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkgs/tools/backup/duplicity/default.nix
Expand Up @@ -46,9 +46,8 @@ pythonPackages.buildPythonApplication rec {
librsync
];

propagatedBuildInputs = [
backblaze-b2
] ++ (with pythonPackages; [
propagatedBuildInputs = with pythonPackages; [
b2sdk
boto
cffi
cryptography
Expand All @@ -65,7 +64,7 @@ pythonPackages.buildPythonApplication rec {
future
] ++ stdenv.lib.optionals (!isPy3k) [
enum
]);
];

checkInputs = [
gnupg # Add 'gpg' to PATH.
Expand Down

0 comments on commit 3c03a98

Please sign in to comment.