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