rdiff-backup added

svn path=/nixpkgs/trunk/; revision=9280
This commit is contained in:
Marc Weber 2007-09-08 20:45:23 +00:00
parent de2c320294
commit bc92b20f9a
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,24 @@
args:
args.stdenv.mkDerivation {
name = "rdiff-backup-1.1.14";
src = args.fetchurl {
url = http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.1.14.tar.gz;
sha256 = "0sh2kz90z47yfa9786dyn3q9ba1xcmjvd65rykvm7mg5apnrg27h";
};
phases="installPhase";
installPhase="python setup.py install --prefix=\$out || fail
sed -i \$out/bin/rdiff-backup -e \\
\"/import sys/ asys.path += [ \\\"\$out/lib/python2.4/site-packages/\\\" ]\"
";
buildInputs = (with args; [python librsync gnused ]);
meta = {
description = "backup system trying to combine best a mirror and an incremental backup system";
homepage = http://rdiff-backup.nongnu.org/;
license = "GPL-2";
};
}

View File

@ -593,6 +593,11 @@ rec {
inherit fetchurl stdenv;
};
rdiff_backup = import ../tools/backup/rdiff-backup {
inherit fetchurl stdenv librsync gnused;
python=python;
};
rpm = import ../tools/package-management/rpm {
inherit fetchurl stdenv cpio zlib bzip2 file sqlite beecrypt neon elfutils;
};