summary refs log tree commit diff
path: root/pkgs/tools/backup
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2019-10-13 16:35:38 +0200
committerGitHub <noreply@github.com>2019-10-13 16:35:38 +0200
commit1e7079e896fcce298e49da0d27d5aeb90c971506 (patch)
treef4c10cbbc07b5d11c824c3d0da1b1ade4dd041f5 /pkgs/tools/backup
parent875d80b5bb7aac0029b9e6b37693e3be0257ab1b (diff)
parenta569d7309056da787b96722a78f3214830f2ef0d (diff)
downloadnixpkgs-1e7079e896fcce298e49da0d27d5aeb90c971506.tar
nixpkgs-1e7079e896fcce298e49da0d27d5aeb90c971506.tar.gz
nixpkgs-1e7079e896fcce298e49da0d27d5aeb90c971506.tar.bz2
nixpkgs-1e7079e896fcce298e49da0d27d5aeb90c971506.tar.lz
nixpkgs-1e7079e896fcce298e49da0d27d5aeb90c971506.tar.xz
nixpkgs-1e7079e896fcce298e49da0d27d5aeb90c971506.tar.zst
nixpkgs-1e7079e896fcce298e49da0d27d5aeb90c971506.zip
Merge pull request #69121 from sdier/duplicity-b2
duplicity: Add backblaze-b2 as a build input to duplicity
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r--pkgs/tools/backup/duplicity/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/backup/duplicity/default.nix b/pkgs/tools/backup/duplicity/default.nix
index 1cf7a19014e..c1673c8308e 100644
--- a/pkgs/tools/backup/duplicity/default.nix
+++ b/pkgs/tools/backup/duplicity/default.nix
@@ -2,7 +2,8 @@
 , gnutar
 , par2cmdline
 , utillinux
-, rsync, makeWrapper }:
+, rsync
+, backblaze-b2, makeWrapper }:
 
 python2Packages.buildPythonApplication rec {
   pname = "duplicity";
@@ -40,10 +41,10 @@ python2Packages.buildPythonApplication rec {
   ];
 
   buildInputs = [ librsync makeWrapper python2Packages.wrapPython ];
-  propagatedBuildInputs = with python2Packages; [
+  propagatedBuildInputs = [ backblaze-b2 ] ++ (with python2Packages; [
     boto cffi cryptography ecdsa enum idna pygobject3 fasteners
     ipaddress lockfile paramiko pyasn1 pycrypto six
-  ];
+  ]);
   checkInputs = [
     gnupg  # Add 'gpg' to PATH.
     gnutar  # Add 'tar' to PATH.