3
0
Fork 0
forked from mirrors/nixpkgs

* Enable ACL support in rsync.

svn path=/nixpkgs/trunk/; revision=13976
This commit is contained in:
Eelco Dolstra 2009-02-03 22:13:35 +00:00
parent 6ed4aa7ecb
commit b54251026a
2 changed files with 14 additions and 2 deletions

View file

@ -1,9 +1,21 @@
{stdenv, fetchurl}:
{ 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";
};
}

View file

@ -7939,7 +7939,7 @@ let
};
rsync = import ../applications/networking/sync/rsync {
inherit fetchurl stdenv;
inherit fetchurl stdenv acl;
};
rxvt = import ../applications/misc/rxvt {