From 3c03a98235d88cc498e174564a73effc43687fa4 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 17 Aug 2020 21:56:47 +0200 Subject: [PATCH] duplicity: use new b2sdk python package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- pkgs/tools/backup/duplicity/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/backup/duplicity/default.nix b/pkgs/tools/backup/duplicity/default.nix index 6d6da3c9874..c12cc1198c9 100644 --- a/pkgs/tools/backup/duplicity/default.nix +++ b/pkgs/tools/backup/duplicity/default.nix @@ -46,9 +46,8 @@ pythonPackages.buildPythonApplication rec { librsync ]; - propagatedBuildInputs = [ - backblaze-b2 - ] ++ (with pythonPackages; [ + propagatedBuildInputs = with pythonPackages; [ + b2sdk boto cffi cryptography @@ -65,7 +64,7 @@ pythonPackages.buildPythonApplication rec { future ] ++ stdenv.lib.optionals (!isPy3k) [ enum - ]); + ]; checkInputs = [ gnupg # Add 'gpg' to PATH.