mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
* Duplicity needs gpg.
svn path=/nixpkgs/trunk/; revision=19912
This commit is contained in:
parent
e7739553e6
commit
faa98ce5d6
@ -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";
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user