2010-01-05 13:29:58 +01:00
|
|
|
{ stdenv, fetchurl, perl
|
2009-02-03 23:13:35 +01:00
|
|
|
, enableACLs ? true, acl ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert enableACLs -> acl != null;
|
2005-11-22 23:39:09 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-01-05 13:29:58 +01:00
|
|
|
name = "rsync-3.0.7";
|
2009-02-03 23:13:35 +01:00
|
|
|
|
2005-11-22 23:39:09 +01:00
|
|
|
src = fetchurl {
|
2010-01-05 13:29:58 +01:00
|
|
|
url = http://rsync.samba.org/ftp/rsync/src/rsync-3.0.7.tar.gz;
|
|
|
|
sha256 = "1j77vwz6q3dvgr8w6wvigd5v4m5952czaqdvihr8di13q0b0vq4y";
|
2005-11-22 23:39:09 +01:00
|
|
|
};
|
2009-02-03 23:13:35 +01:00
|
|
|
|
2011-09-21 09:04:22 +02:00
|
|
|
buildInputs = stdenv.lib.optional enableACLs acl;
|
|
|
|
buildNativeInputs = [perl];
|
2009-02-03 23:13:35 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://samba.anu.edu.au/rsync/;
|
|
|
|
description = "A fast incremental file transfer utility";
|
|
|
|
};
|
2005-11-22 23:39:09 +01:00
|
|
|
}
|