2008-01-30 17:20:48 +00:00
|
|
|
args: with args;
|
|
|
|
stdenv.mkDerivation {
|
2007-09-08 20:45:23 +00:00
|
|
|
name = "rdiff-backup-1.1.14";
|
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
src = fetchurl {
|
2007-09-08 20:45:23 +00:00
|
|
|
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/\\\" ]\"
|
|
|
|
|
|
|
|
";
|
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
buildInputs = [python librsync gnused ];
|
2007-09-08 20:45:23 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "backup system trying to combine best a mirror and an incremental backup system";
|
|
|
|
homepage = http://rdiff-backup.nongnu.org/;
|
|
|
|
license = "GPL-2";
|
|
|
|
};
|
|
|
|
}
|