duplicity: use new b2sdk python package

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)
This commit is contained in:
Profpatsch 2020-08-17 21:56:47 +02:00
parent f000c741a3
commit 3c03a98235

View File

@ -46,9 +46,8 @@ pythonPackages.buildPythonApplication rec {
librsync librsync
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = with pythonPackages; [
backblaze-b2 b2sdk
] ++ (with pythonPackages; [
boto boto
cffi cffi
cryptography cryptography
@ -65,7 +64,7 @@ pythonPackages.buildPythonApplication rec {
future future
] ++ stdenv.lib.optionals (!isPy3k) [ ] ++ stdenv.lib.optionals (!isPy3k) [
enum enum
]); ];
checkInputs = [ checkInputs = [
gnupg # Add 'gpg' to PATH. gnupg # Add 'gpg' to PATH.