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