2018-07-21 02:44:44 +02:00
|
|
|
{ fetchurl, stdenv, perl, openssh, rsync, logger }:
|
2008-03-07 10:33:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-12-24 16:03:18 +01:00
|
|
|
name = "rsnapshot-1.4.3";
|
2015-12-02 17:31:25 +01:00
|
|
|
|
2008-03-07 10:33:51 +01:00
|
|
|
src = fetchurl {
|
2020-01-22 11:26:22 +01:00
|
|
|
url = "https://rsnapshot.org/downloads/${name}.tar.gz";
|
2019-12-24 16:03:18 +01:00
|
|
|
sha256 = "1lavqmmsf53pim0nvming7fkng6p0nk2a51k2c2jdq0l7snpl31b";
|
2008-03-07 10:33:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [perl openssh rsync logger];
|
|
|
|
|
2016-05-12 01:19:16 +02:00
|
|
|
configureFlags = [ "--sysconfdir=/etc --prefix=/" ];
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
|
2008-03-07 10:33:51 +01:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace "Makefile.in" --replace \
|
|
|
|
"/usr/bin/pod2man" "${perl}/bin/pod2man"
|
|
|
|
'';
|
|
|
|
|
2014-10-01 22:24:27 +02:00
|
|
|
meta = with stdenv.lib; {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "A filesystem snapshot utility for making backups of local and remote systems";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://rsnapshot.org/";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2014-10-01 22:24:27 +02:00
|
|
|
platforms = platforms.linux;
|
2008-03-07 10:33:51 +01:00
|
|
|
};
|
|
|
|
}
|