From patchwork Tue Feb 16 22:15:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Reich=C3=B6r?= X-Patchwork-Id: 27101 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9F27E27BC45; Tue, 16 Feb 2021 22:17:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BAC8B27BC47 for ; Tue, 16 Feb 2021 22:17:42 +0000 (GMT) Received: from localhost ([::1]:47768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lC8f7-0002ia-S6 for patchwork@mira.cbaines.net; Tue, 16 Feb 2021 17:17:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lC8dW-0001zV-DF for guix-patches@gnu.org; Tue, 16 Feb 2021 17:16:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58589) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lC8dW-0001NG-5s for guix-patches@gnu.org; Tue, 16 Feb 2021 17:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lC8dW-0000iF-0g for guix-patches@gnu.org; Tue, 16 Feb 2021 17:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46572] [PATCH] gnu: Add usync. Resent-From: Stefan =?utf-8?q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Feb 2021 22:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46572 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46572@debbugs.gnu.org Cc: Stefan =?utf-8?q?Reich=C3=B6r?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16135137381343 (code B ref -1); Tue, 16 Feb 2021 22:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2021 22:15:38 +0000 Received: from localhost ([127.0.0.1]:41895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC8d7-0000LI-Ja for submit@debbugs.gnu.org; Tue, 16 Feb 2021 17:15:37 -0500 Received: from lists.gnu.org ([209.51.188.17]:47388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC8d5-0000JZ-Q7 for submit@debbugs.gnu.org; Tue, 16 Feb 2021 17:15:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lC8d5-0001jW-Kq for guix-patches@gnu.org; Tue, 16 Feb 2021 17:15:35 -0500 Received: from dd3624.kasserver.com ([85.13.130.11]:34694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lC8d2-0001Hu-3K for guix-patches@gnu.org; Tue, 16 Feb 2021 17:15:35 -0500 Received: from localhost (217-149-162-201.nat.highway.telekom.at [217.149.162.201]) by dd3624.kasserver.com (Postfix) with ESMTPA id E70BA5D400DE; Tue, 16 Feb 2021 23:15:28 +0100 (CET) From: Stefan =?utf-8?q?Reich=C3=B6r?= Date: Tue, 16 Feb 2021 23:15:22 +0100 Message-Id: <20210216221522.822909-1-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2019 Clément Lassieur ;;; Copyright © 2020 Jakub Kądziołka +;;; Copyright © 2021 Stefan Reichör ;;; ;;; 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")