From patchwork Tue Mar 12 22:51:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: David Elsing X-Patchwork-Id: 61720 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 4C85027BBEA; Tue, 12 Mar 2024 22:54:19 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 C390027BBE2 for ; Tue, 12 Mar 2024 22:54:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkB0S-0000KY-JM; Tue, 12 Mar 2024 18:54:01 -0400 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 1rkAzy-0008SU-FX for guix-patches@gnu.org; Tue, 12 Mar 2024 18:53:30 -0400 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 1rkAzy-0000Iq-3x for guix-patches@gnu.org; Tue, 12 Mar 2024 18:53:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rkB0W-0001mA-PY for guix-patches@gnu.org; Tue, 12 Mar 2024 18:54:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69591] [PATCH v2 10/31] gnu: Add libnop. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Mar 2024 22:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69591 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69591@debbugs.gnu.org Cc: David Elsing Received: via spool by 69591-submit@debbugs.gnu.org id=B69591.17102840156580 (code B ref 69591); Tue, 12 Mar 2024 22:54:04 +0000 Received: (at 69591) by debbugs.gnu.org; 12 Mar 2024 22:53:35 +0000 Received: from localhost ([127.0.0.1]:44070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkB03-0001hz-4q for submit@debbugs.gnu.org; Tue, 12 Mar 2024 18:53:35 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkAze-0001ds-2v for 69591@debbugs.gnu.org; Tue, 12 Mar 2024 18:53:11 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BA4EB240027 for <69591@debbugs.gnu.org>; Tue, 12 Mar 2024 23:52:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710283949; bh=D306KLEO238w/zPmU3FkbUhCwrvVZXNI8rwoEBvhtvs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=BoXN4e42O24rNNK7M1DxeDH6Ay4wRmjva0N/6eb0uoGnR+yScEX/4gGZHZP/alDzc DVchnoJQjf3LDCfieyFRJbISvq+1dho9P+hnKajuUkCHoRDLz7qwVPuCrgXjyJKsXA hMtvH+eFAt0e76kyXgk/GqyLahVb1u6zz4ki/vD/UniIoeMeYgBtzCuKGwhR/dEOGq zTdKwd6Z4ecaTaEtFcwSWeUCiUK8RbO55F31b8w7XaYdGNL7v6rhQf7BRohB4VvTX0 zD0oQE967WEmDCCKJaXeXx9Iijb+TTWQ7WV9kAZX5x/ql2wlVKyXKf7fWdC2suXzfL 1rCr5g9FK/TEg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TvTRx2dQhz6tx2; Tue, 12 Mar 2024 23:52:29 +0100 (CET) From: David Elsing Date: Tue, 12 Mar 2024 22:51:38 +0000 Message-ID: <20240312225211.16427-10-david.elsing@posteo.net> In-Reply-To: <20240312224712.15578-1-david.elsing@posteo.net> References: <20240312224712.15578-1-david.elsing@posteo.net> MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/serialization.scm (libnop): New variable. --- gnu/packages/serialization.scm | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 331fae80cf..bfee0dbfc6 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 Paul A. Patience ;;; Copyright © 2024 Arun Isaac +;;; Copyright © 2024 David Elsing ;;; ;;; This file is part of GNU Guix. ;;; @@ -936,3 +937,41 @@ (define-public python-feather-format (description "This package provides a Python wrapper library to the Apache Arrow-based Feather binary columnar serialization data frame format.") (license license:asl2.0))) + +(define-public libnop + (let ((commit "35e800d81f28c632956c5a592e3cbe8085ecd430") + (revision "0")) + (package + (name "libnop") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/libnop") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qqbaljq54qiq0dky9nj47igfcs065ry526jg9a0aafbfl9krpy2")))) + (build-system gnu-build-system) + (arguments + (list + #:test-target "test" + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "out/test")))) + (replace 'install + (lambda _ + (copy-recursively + "include" (string-append #$output "/include"))))))) + (native-inputs (list googletest)) + (home-page "https://github.com/google/libnop") + (synopsis "C++ Native Object Protocols") + (description "@code{libnop} is a header-only library for serializing and +deserializing C++ data types without external code generators or runtime +support libraries.") + (license license:asl2.0))))