git.iko.soy/typeable/nixpkgs
on master help sign in
duplicity: add paramiko,pycrypto,ecdsa to deps

paramiko enables sftp:// [Bjørn: clean up expression arguments (coding style)]

commitcd1732f58e04204e101f53088e50d549cb059da1 authormakefu <makefu@syntax-fehler.de> dateSat 10 Oct 2015, 21:19 (11 years ago) parent5b68b8a
2 files changed+5−4
pkgs/tools/backup/duplicity/default.nix+4−3 pkgs/top-level/all-packages.nix+1−1
pkgs/tools/backup/duplicity/default.nix+4−3
@@ -1,5 +1,6 @@
11{ stdenv, fetchurl, python, librsync, ncftp, gnupg, boto, makeWrapper
2−, lockfile, setuptools }:
2+, lockfile, setuptools, paramiko, pycrypto, ecdsa
3+}:
34
45let
56 version = "0.7.02";
@@ -15,10 +16,10 @@ stdenv.mkDerivation {
1516 installPhase = ''
1617 python setup.py install --prefix=$out
1718 wrapProgram $out/bin/duplicity \
18− --prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})" \
19+ --prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pycrypto}):$(toPythonPath ${ecdsa}):$(toPythonPath ${paramiko}):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})" \
1920 --prefix PATH : "${gnupg}/bin:${ncftp}/bin"
2021 wrapProgram $out/bin/rdiffdir \
21− --prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})" \
22+ --prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pycrypto}):$(toPythonPath ${ecdsa}):$(toPythonPath ${paramiko}):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})"
2223 '';
2324
2425 buildInputs = [ python librsync makeWrapper setuptools ];
pkgs/top-level/all-packages.nix+1−1
@@ -1323,7 +1323,7 @@ let
13231323 duo-unix = callPackage ../tools/security/duo-unix { };
13241324
13251325 duplicity = callPackage ../tools/backup/duplicity {
1326− inherit (pythonPackages) boto lockfile;
1326+ inherit (pythonPackages) boto lockfile paramiko ecdsa pycrypto;
13271327 gnupg = gnupg1;
13281328 };
13291329