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-12-25 19:33:44 +01:00
|
|
|
name = "rsync-3.0.6";
|
2009-02-03 23:13:35 +01:00
|
|
|
|
2005-11-22 23:39:09 +01:00
|
|
|
src = fetchurl {
|
2009-12-25 19:33:44 +01:00
|
|
|
url = http://rsync.samba.org/ftp/rsync/src/rsync-3.0.6.tar.gz;
|
|
|
|
sha256 = "1cz1adlshjwwi41yqhw7wph7vq58a73b4zgs8piv6rnbcj9rdk1k";
|
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
|
|
|
}
|