gnu: Do not #:select from (gnu packages …) modules.
[jackhill/guix/guix.git] / gnu / packages / rsync.scm
CommitLineData
233e7676 1;;; GNU Guix --- Functional package management for GNU
13fbda90 2;;; Copyright © 2012, 2013 Andreas Enge <andreas@enge.fr>
c8911fa3 3;;;
233e7676 4;;; This file is part of GNU Guix.
c8911fa3 5;;;
233e7676 6;;; GNU Guix is free software; you can redistribute it and/or modify it
c8911fa3
AE
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
233e7676 11;;; GNU Guix is distributed in the hope that it will be useful, but
c8911fa3
AE
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
233e7676 17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
c8911fa3 18
1ffa7090 19(define-module (gnu packages rsync)
59a43334 20 #:use-module (gnu packages)
1ffa7090
LC
21 #:use-module (gnu packages perl)
22 #:use-module (gnu packages acl)
ce0614dd 23 #:use-module (gnu packages base)
c8911fa3
AE
24 #:use-module (guix licenses)
25 #:use-module (guix packages)
26 #:use-module (guix download)
27 #:use-module (guix build-system gnu))
28
29
30(define-public rsync
31 (package
32 (name "rsync")
13fbda90 33 (version "3.1.0")
c8911fa3
AE
34 (source (origin
35 (method url-fetch)
13fbda90 36 (uri (string-append "http://rsync.samba.org/ftp/rsync/src/rsync-"
c8911fa3
AE
37 version ".tar.gz"))
38 (sha256
39 (base32
13fbda90 40 "0kirw8wglqvwi1v8bwxp373g03xg857h59j5k3mmgff9gzvj7jl1"))))
c8911fa3
AE
41 (build-system gnu-build-system)
42 (inputs `(("perl" ,perl)
43 ("acl" ,acl)))
35b9e423 44 (synopsis "Remote (and local) file copying tool")
c8911fa3 45 (description
35b9e423 46 "Rsync is a fast and versatile file copying tool. It can copy locally,
c8911fa3
AE
47to/from another host over any remote shell, or to/from a remote rsync daemon.
48Its delta-transfer algorithm reduces the amount of data sent over the network
49by sending only the differences between the source files and the existing
50files in the destination.")
51 (license gpl3+)
52 (home-page "http://rsync.samba.org/")))
7f0635f6
EB
53
54(define-public librsync
55 (package
56 (name "librsync")
57 (version "0.9.7")
58 (source (origin
59 (method url-fetch)
33dcd2a8 60 (uri (string-append "mirror://sourceforge/librsync/librsync/"
7f0635f6
EB
61 version "/librsync-" version ".tar.gz"))
62 (sha256
63 (base32
64 "1mj1pj99mgf1a59q9f2mxjli2fzxpnf55233pc1klxk2arhf8cv6"))))
65 (build-system gnu-build-system)
66 (native-inputs
67 `(("which" ,which)
68 ("perl" ,perl)))
69 (arguments '(#:configure-flags '("--enable-shared")))
70 (home-page "http://librsync.sourceforge.net/")
71 (synopsis "Implementation of the rsync remote-delta algorithm")
72 (description
73 "Librsync is a free software library that implements the rsync
74remote-delta algorithm. This algorithm allows efficient remote updates of a
75file, without requiring the old and new versions to both be present at the
35b9e423 76sending end. The library uses a \"streaming\" design similar to that of zlib
7f0635f6
EB
77with the aim of allowing it to be embedded into many different applications.")
78 (license lgpl2.1+)))