2008-03-07 10:33:51 +01:00
|
|
|
{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 = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "A filesystem snapshot utility for making backups of local and remote systems";
|
2008-03-07 10:33:51 +01:00
|
|
|
homepage = http://rsnapshot.org/;
|
|
|
|
license = "GPLv2+";
|
|
|
|
};
|
|
|
|
}
|