* Duplicity needs gpg.

svn path=/nixpkgs/trunk/; revision=19912
This commit is contained in:
Eelco Dolstra 2010-02-10 16:51:01 +00:00
parent e7739553e6
commit faa98ce5d6
2 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,5 @@
{stdenv, fetchurl, python, librsync, makeWrapper}:
{ stdenv, fetchurl, python, librsync, gnupg, makeWrapper }:
stdenv.mkDerivation {
name = "duplicity-0.6.06";
@ -9,10 +10,12 @@ stdenv.mkDerivation {
installPhase = ''
python setup.py install --prefix=$out
wrapProgram $out/bin/duplicity --prefix PYTHONPATH : "$(toPythonPath $out)"
wrapProgram $out/bin/duplicity \
--prefix PYTHONPATH : "$(toPythonPath $out)" \
--prefix PATH : "${gnupg}/bin"
'';
buildInputs = [python librsync makeWrapper];
buildInputs = [ python librsync makeWrapper ];
meta = {
description = "Encrypted bandwidth-efficient backup using the rsync algorithm";

View File

@ -619,7 +619,7 @@ let
};
duplicity = import ../tools/backup/duplicity {
inherit fetchurl stdenv librsync makeWrapper python;
inherit fetchurl stdenv librsync gnupg makeWrapper python;
};
dvdplusrwtools = import ../tools/cd-dvd/dvd+rw-tools {