* [bug#33495] [PATCH] Add Rclone
@ 2018-11-25 0:25 Nicolas Goaziou
2018-11-27 11:05 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2018-11-25 0:25 UTC (permalink / raw)
To: 33495
[-- Attachment #1: Type: text/plain, Size: 90 bytes --]
Hello,
The following patch adds Rclone. Feedback welcome.
Regards,
--
Nicolas Goaziou
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add Rclone --]
[-- Type: text/x-diff, Size: 2598 bytes --]
From 65b81cd2481a83b9515e4c2930dc0c6f53ee1aa5 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date: Sun, 25 Nov 2018 01:14:28 +0100
Subject: [PATCH] gnu: Add rclone.
* gnu/packages/sync.scm (rclone): New variable.
---
gnu/packages/sync.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index e0b0af3d9..8f13b5dd2 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -22,6 +22,7 @@
(define-module (gnu packages sync)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system cmake)
+ #:use-module (guix build-system go)
#:use-module (guix build-system meson)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -243,3 +244,45 @@ over the Internet in an HTTP and CDN friendly way;
@item An efficient backup system.
@end itemize\n")
(license license:lgpl2.1+)))
+
+(define-public rclone
+ (package
+ (name "rclone")
+ (version "1.45")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ncw/rclone.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "06xg0ibv9pnrnmabh1kblvxx1pk8h5rmkr9mjbymv497sx3zgz26"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/ncw/rclone"
+ #:install-source? #f
+ (modify-phases %standard-phases
+ ;; Fix failure during "check" phase: "/homeless-shelter: permission
+ ;; denied".
+ (add-after 'unpack 'set-home-directory
+ (lambda _ (setenv "HOME" "/tmp") #t)))))
+ (synopsis "@code{rsync} for cloud storage")
+ (description "@code{Rclone} is a command line program to sync files and
+directories to and from different cloud storage providers.
+
+Features include:
+@itemize
+@item MD5/SHA1 hashes checked at all times for file integrity
+@item Timestamps preserved on files
+@item Partial syncs supported on a whole file basis
+@item Copy mode to just copy new/changed files
+@item Sync (one way) mode to make a directory identical
+@item Check mode to check for file hash equality
+@item Can sync to and from network, e.g., two different cloud accounts
+@item Optional encryption (Crypt)
+@item Optional cache (Cache)
+@item Optional FUSE mount (rclone mount)
+@end itemize")
+ (home-page "https://rclone.org/")
+ (license license:expat)))
--
2.19.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#33495] [PATCH] Add Rclone
2018-11-25 0:25 [bug#33495] [PATCH] Add Rclone Nicolas Goaziou
@ 2018-11-27 11:05 ` Ludovic Courtès
2018-11-27 20:41 ` bug#33495: " Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-11-27 11:05 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: 33495
Hello,
Nicolas Goaziou <mail@nicolasgoaziou.fr> skribis:
>>From 65b81cd2481a83b9515e4c2930dc0c6f53ee1aa5 Mon Sep 17 00:00:00 2001
> From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
> Date: Sun, 25 Nov 2018 01:14:28 +0100
> Subject: [PATCH] gnu: Add rclone.
>
> * gnu/packages/sync.scm (rclone): New variable.
LGTM, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#33495: [PATCH] Add Rclone
2018-11-27 11:05 ` Ludovic Courtès
@ 2018-11-27 20:41 ` Nicolas Goaziou
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2018-11-27 20:41 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 33495-done
Hello,
ludo@gnu.org (Ludovic Courtès) writes:
> Hello,
>
> Nicolas Goaziou <mail@nicolasgoaziou.fr> skribis:
>
>>>From 65b81cd2481a83b9515e4c2930dc0c6f53ee1aa5 Mon Sep 17 00:00:00 2001
>> From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
>> Date: Sun, 25 Nov 2018 01:14:28 +0100
>> Subject: [PATCH] gnu: Add rclone.
>>
>> * gnu/packages/sync.scm (rclone): New variable.
>
> LGTM, thanks!
Applied. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-27 20:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-25 0:25 [bug#33495] [PATCH] Add Rclone Nicolas Goaziou
2018-11-27 11:05 ` Ludovic Courtès
2018-11-27 20:41 ` bug#33495: " Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.