forked from mirrors/nixpkgs
duplicity: add missing 'lockfile' build input
This commit is contained in:
parent
01e4edbabf
commit
bb37028fcc
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, python, librsync, ncftp, gnupg, boto, makeWrapper }:
|
{ stdenv, fetchurl, python, librsync, ncftp, gnupg, boto, makeWrapper, lockfile }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.6.23";
|
version = "0.6.23";
|
||||||
|
@ -14,10 +14,10 @@ stdenv.mkDerivation {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
python setup.py install --prefix=$out
|
python setup.py install --prefix=$out
|
||||||
wrapProgram $out/bin/duplicity \
|
wrapProgram $out/bin/duplicity \
|
||||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${boto})" \
|
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})" \
|
||||||
--prefix PATH : "${gnupg}/bin:${ncftp}/bin"
|
--prefix PATH : "${gnupg}/bin:${ncftp}/bin"
|
||||||
wrapProgram $out/bin/rdiffdir \
|
wrapProgram $out/bin/rdiffdir \
|
||||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${boto})" \
|
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})" \
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ python librsync makeWrapper ];
|
buildInputs = [ python librsync makeWrapper ];
|
||||||
|
|
|
@ -848,7 +848,7 @@ let
|
||||||
dtach = callPackage ../tools/misc/dtach { };
|
dtach = callPackage ../tools/misc/dtach { };
|
||||||
|
|
||||||
duplicity = callPackage ../tools/backup/duplicity {
|
duplicity = callPackage ../tools/backup/duplicity {
|
||||||
inherit (pythonPackages) boto;
|
inherit (pythonPackages) boto lockfile;
|
||||||
gnupg = gnupg1;
|
gnupg = gnupg1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue