forked from mirrors/nixpkgs
duplicity: add paramiko,pycrypto,ecdsa to deps
paramiko enables sftp:// [Bjørn: clean up expression arguments (coding style)]
This commit is contained in:
parent
5b68b8aa17
commit
cd1732f58e
|
@ -1,5 +1,6 @@
|
|||
{ stdenv, fetchurl, python, librsync, ncftp, gnupg, boto, makeWrapper
|
||||
, lockfile, setuptools }:
|
||||
, lockfile, setuptools, paramiko, pycrypto, ecdsa
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.7.02";
|
||||
|
@ -15,10 +16,10 @@ stdenv.mkDerivation {
|
|||
installPhase = ''
|
||||
python setup.py install --prefix=$out
|
||||
wrapProgram $out/bin/duplicity \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})" \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pycrypto}):$(toPythonPath ${ecdsa}):$(toPythonPath ${paramiko}):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})" \
|
||||
--prefix PATH : "${gnupg}/bin:${ncftp}/bin"
|
||||
wrapProgram $out/bin/rdiffdir \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})" \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pycrypto}):$(toPythonPath ${ecdsa}):$(toPythonPath ${paramiko}):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})"
|
||||
'';
|
||||
|
||||
buildInputs = [ python librsync makeWrapper setuptools ];
|
||||
|
|
|
@ -1323,7 +1323,7 @@ let
|
|||
duo-unix = callPackage ../tools/security/duo-unix { };
|
||||
|
||||
duplicity = callPackage ../tools/backup/duplicity {
|
||||
inherit (pythonPackages) boto lockfile;
|
||||
inherit (pythonPackages) boto lockfile paramiko ecdsa pycrypto;
|
||||
gnupg = gnupg1;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue