1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/backup/rsnapshot/default.nix
Ludovic Courtès d8bcaa4398 Add rsnapshot, an rsync-based remote backup tool.
svn path=/nixpkgs/trunk/; revision=11009
2008-03-07 09:33:51 +00:00

24 lines
649 B
Nix

{fetchurl, stdenv, perl, openssh, rsync, logger}:
stdenv.mkDerivation rec {
name = "rsnapshot-1.3.0";
src = fetchurl {
url = "mirrors://sourceforge/rsnapshot/${name}.tar.gz";
sha256 = "19p35ycm73a8vd4ccjpah18h5jagvcr11rqca6ya87sg8k0a5h9z";
};
propagatedBuildInputs = [perl openssh rsync logger];
patchPhase = ''
substituteInPlace "Makefile.in" --replace \
"/usr/bin/pod2man" "${perl}/bin/pod2man"
'';
meta = {
description = ''rsnapshot is a filesystem snapshot utility for making
backups of local and remote systems.'';
homepage = http://rsnapshot.org/;
license = "GPLv2+";
};
}