GNU bug report logs - #46572
[PATCH] gnu: Add usync.

Previous Next

Package: guix-patches;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Tue, 16 Feb 2021 22:16:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Reichör <stefan <at> xsteve.at>
Subject: bug#46572: closed (Re: bug#46572: [PATCH] gnu: Add usync.)
Date: Tue, 02 Mar 2021 21:13:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#46572: [PATCH] gnu: Add usync.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 46572 <at> debbugs.gnu.org.

-- 
46572: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46572
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Stefan Reichör <stefan <at> xsteve.at>
Cc: 46572-done <at> debbugs.gnu.org
Subject: Re: bug#46572: [PATCH] gnu: Add usync.
Date: Tue, 02 Mar 2021 22:11:55 +0100
Hi,

Stefan Reichör <stefan <at> xsteve.at> skribis:

> * gnu/packages/sync.scm (usync): New variable.

Applied, thanks!

zimoun <zimon.toutoune <at> gmail.com> skribis:

> The error you get comes from circular dependency, I guess.
> If you comment both 'unison' and '#:use-module (gnu packages ocaml)',
> then there is no backtrace.

This came from the reference to ‘llvm’ in commit
8f710cc598fb675d267f49a82cffc197f03ad52c.  Fixed now.

Thanks you & Léo for reporting it!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Stefan Reichör <stefan <at> xsteve.at>
To: guix-patches <at> gnu.org
Cc: Stefan Reichör <stefan <at> xsteve.at>
Subject: [PATCH] gnu: Add usync.
Date: Tue, 16 Feb 2021 23:15:22 +0100
* gnu/packages/sync.scm (usync): New variable.
---
 gnu/packages/sync.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index f3d6e9013c..8715690483 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2018, 2019, 2020 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
 ;;; Copyright © 2019 Clément Lassieur <clement <at> lassieur.org>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba <at> kadziolka.net>
+;;; Copyright © 2021 Stefan Reichör <stefan <at> xsteve.at>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25,6 +26,7 @@
 (define-module (gnu packages sync)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system meson)
@@ -46,6 +48,7 @@
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages ocaml)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
@@ -53,6 +56,7 @@
   #:use-module (gnu packages readline)
   #:use-module (gnu packages rsync)
   #:use-module (gnu packages selinux)
+  #:use-module (gnu packages shells)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tls))
@@ -315,6 +319,37 @@ comparatively easy to install not requiring new file systems or block devices
 and does not hamper local file system performance.")
     (license license:gpl2+)))
 
+(define-public usync
+  (let ((revision "1")
+        (commit "09a8059a1adc22666d3ecf7872e22e6846c3ac9e"))
+    (package
+      (name "usync")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/ebzzry/usync")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "16i1q8f0jmfd43rb8d70l2b383vr5ib4kh7iq3yd345q7xjz9c2j"))))
+      (build-system copy-build-system)
+      (propagated-inputs
+       `(("scsh" ,scsh)
+         ("rsync" ,rsync)
+         ("unison" ,unison)))
+      (arguments
+       `(#:install-plan
+         '(("usync" "bin/usync"))))
+      (home-page "https://github.com/ebzzry/usync")
+      (synopsis "Command line site-to-site synchronization tool")
+      (description
+       "@command{usync} is a simple site-to-site synchronization program
+written in @command{scsh}.  It makes use of @command{unison} and
+@command{rsync} for bi- and uni-directional synchronizations.")
+      (license license:expat))))
+
 (define-public casync
   (package
     (name "casync")
-- 
2.25.1




This bug report was last modified 4 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.