2009-02-03 23:13:35 +01:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, enableACLs ? true, acl ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert enableACLs -> acl != null;
|
2005-11-22 23:39:09 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-01-28 15:52:57 +01:00
|
|
|
name = "rsync-3.0.5";
|
2009-02-03 23:13:35 +01:00
|
|
|
|
2005-11-22 23:39:09 +01:00
|
|
|
src = fetchurl {
|
2009-01-28 15:52:57 +01:00
|
|
|
url = http://rsync.samba.org/ftp/rsync/src/rsync-3.0.5.tar.gz;
|
|
|
|
sha256 = "1js36yv5s9dic524s7jczqk5myzp67bp24rqhbnikg6lh6pj1b20";
|
2005-11-22 23:39:09 +01:00
|
|
|
};
|
2009-02-03 23:13:35 +01:00
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optional enableACLs acl;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://samba.anu.edu.au/rsync/;
|
|
|
|
description = "A fast incremental file transfer utility";
|
|
|
|
};
|
2005-11-22 23:39:09 +01:00
|
|
|
}
|