mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
b54251026a
svn path=/nixpkgs/trunk/; revision=13976
22 lines
480 B
Nix
22 lines
480 B
Nix
{ stdenv, fetchurl
|
|
, enableACLs ? true, acl ? null
|
|
}:
|
|
|
|
assert enableACLs -> acl != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "rsync-3.0.5";
|
|
|
|
src = fetchurl {
|
|
url = http://rsync.samba.org/ftp/rsync/src/rsync-3.0.5.tar.gz;
|
|
sha256 = "1js36yv5s9dic524s7jczqk5myzp67bp24rqhbnikg6lh6pj1b20";
|
|
};
|
|
|
|
buildInputs = stdenv.lib.optional enableACLs acl;
|
|
|
|
meta = {
|
|
homepage = http://samba.anu.edu.au/rsync/;
|
|
description = "A fast incremental file transfer utility";
|
|
};
|
|
}
|