mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
rdiff-backup added
svn path=/nixpkgs/trunk/; revision=9280
This commit is contained in:
parent
de2c320294
commit
bc92b20f9a
24
pkgs/tools/backup/rdiff-backup/default.nix
Normal file
24
pkgs/tools/backup/rdiff-backup/default.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user