From patchwork Sun Feb 16 09:38:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: flypaper X-Patchwork-Id: 38726 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 B922D27BBEA; Sun, 16 Feb 2025 09:48:45 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5A4A627BBE2 for ; Sun, 16 Feb 2025 09:48:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tjbFs-0000y5-7K; Sun, 16 Feb 2025 04:48:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tjb87-00007C-5C for guix-patches@gnu.org; Sun, 16 Feb 2025 04:40:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tjb86-0002ra-Ro for guix-patches@gnu.org; Sun, 16 Feb 2025 04:40:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=UKnCNRnXC67CtzALpC37FAa/IBHhoZmziUEf+Jrg1hs=; b=VofuUnpWpVNmuKIbDrq/Uh0K8kt2pHQDcK9N7EyIwylAgjCSy6767WtvYOmolVaIob6Ek/5/WdBIyyfqqtvgV/BFt/4APSW/SsTA1XvTncs0DV4PFTc2gvKO3PqiooPmX478CJ/S7hQ61CYfbDegBO7cRszDqemVCASxb29i++bQmNHIjjvdcKIpNbMMlc89ZxhbBM8ocLhaMZlcnBsgOcsEiWuIU1Rm0jmO4VsJd7HrJB/n/txC+ENW1RbnRChIO1tU3vcnwP7ur0pI15S8aUsXcSnpr2bW0e1WRQUYEoRDwJeuKO5v0ngFQUtqJYlrTh82GMatifYJ6cAR8VLoNw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tjb86-0003iK-MH for guix-patches@gnu.org; Sun, 16 Feb 2025 04:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76324] [PATCH 1/6] gnu: sync: add libsearpc Resent-From: flypaper Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Feb 2025 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76324@debbugs.gnu.org Cc: flypaper Received: via spool by 76324-submit@debbugs.gnu.org id=B76324.173969877014177 (code B ref 76324); Sun, 16 Feb 2025 09:40:02 +0000 Received: (at 76324) by debbugs.gnu.org; 16 Feb 2025 09:39:30 +0000 Received: from localhost ([127.0.0.1]:60206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjb7a-0003ga-1l for submit@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:30 -0500 Received: from layka.disroot.org ([178.21.23.139]:48096) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tjb7P-0003fl-PC for 76324@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:21 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 23C9B25D17; Sun, 16 Feb 2025 10:39:18 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id kKzrgy1R_DN3; Sun, 16 Feb 2025 10:39:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1739698753; bh=+3/NTzdc+ykELQWQiAya2KplaxJM9KoyxxU5SA/OA/U=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=B1Lmw5bK87PiFlTzmCz536Q+VME9oFeKn3ZBTzkE5Qf/GaI0QYFdoGMMvtIraks1c gj/CtivE2rq4IAjs4qiCr5YECywc7d0JL+3Ovn7xx+LaFa0rFrM7xWeCC1GSVdgarB FrRgtX8JNqzhgOMwpsl/8XSfdlRhUnDMvgUutNvWVncnj29JgxG+uZl56Wn2IhHH3Q CErjs0TpDjvJ6jjsZ4VcLnuXADdx5DYkyK9Av6Rx5zboeGNCwZ/tbUd4xMv5ptP4Tp AkEZHbD/0OEEXGzyUvyffV+YKfceeIgdfQKEAiCdBx4PvH1hfBcHMG+Wc8bXhNu0XA 4cnKH6pc7Cuuw== Date: Sun, 16 Feb 2025 11:38:44 +0200 Message-ID: <8354dddd654e36fc443373afee93f4e95a183bde.1739648316.git.flypaper@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 16 Feb 2025 04:48:01 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: flypaper X-ACL-Warn: , flypaper via Guix-patches X-Patchwork-Original-From: flypaper via Guix-patches via From: flypaper Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/sync.scm (libsearpc): New package. Change-Id: Id581536d6d13033c33a7316568a18bf1520ccc77 --- gnu/packages/sync.scm | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index a4d4e03b91..854cc075ea 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -69,7 +69,8 @@ (define-module (gnu packages sync) #:use-module (gnu packages shells) #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) - #:use-module (gnu packages tls)) + #:use-module (gnu packages tls) + #:use-module (gnu packages web)) (define-public nextcloud-client (package @@ -600,3 +601,32 @@ (define-public rclone @end itemize") (home-page "https://rclone.org/") (license license:expat))) + + +(define-public libsearpc + (let ((revision "0") + (commit "255d5dedd2b446b58e4b8ca97ed6c270b3921047") + (version "3.3")) + (package + (name "libsearpc") + (version (git-version version revision commit)) + (home-page "https://github.com/haiwen/libsearpc") + (source + (origin + (method git-fetch) + (file-name (git-file-name name version)) + (uri (git-reference + (url home-page) + (commit commit))) + (sha256 + (base32 "1nrn7djyslszd26bg1yd5wdqyyjyh8hfc6zz8hwxk9bbdvjkpv9b")))) + (build-system gnu-build-system) + (license license:asl2.0) + (synopsis "RPC framework for server and client") + (description + "A simple C language RPC framework (including both server side & client side).") + (arguments + (list + #:configure-flags '(list "--disable-compile-demo"))) + (inputs (list glib jansson python)) + (native-inputs (list autoconf automake libtool pkg-config)))))