From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UDGHMwZeH2c9aAAA62LTzQ:P1 (envelope-from ) for ; Mon, 28 Oct 2024 09:48:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UDGHMwZeH2c9aAAA62LTzQ (envelope-from ) for ; Mon, 28 Oct 2024 10:48:54 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NmRCkZcK; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=ITrKe0Nh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730108934; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UursR2eJc5NRKHjOrL9U3P75dZn1pH3p/fk28R1Wf1c=; b=WjPsSZdraL86kBmbw+xfoZ7fgmLaTLzBoZOKIpEGTygySUts4TIYk7G1x0SRphNcLKJp4T YWpEvlw/hh6QQ/+b1s3v1FJM2G+Fjfh/sRqZ6WTzJ+rSQxhi+J3LpoTshmJ0ms1/+9dLu0 DRLQ3q/Fjz1pEvcyEfgkbeCeBNTcAefaECJD/L+bPrSX1UcRo4tffS2cJdJ/Vx6vqS1bvd S+hbHNqtarBoHfTgFMFA56L6EORwFTXVHvH64aUs9v3dVlZ5MlTO0Ax85Fm/Yr9fl8mxp/ YZJILWafUQVkSaT6BPm3KvEA/3P7wslvTRnQ3dqbYts6yWgr2Ss7+dUwrGPrMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730108934; a=rsa-sha256; cv=none; b=PVfKWbF6OYSYrqzQm/58M2HS1LDbfm4v0hPTWxLfeXhcQj1qx5tpJ977aMwzeZYIVkb0r4 o0MRE/Bn1qcx7HT9Qrk8TGaQ/vCfigh3mAdal+cjUjjo+yyy3W4njgrQPnIn64+x4LIr2W 5Cf2uT/ddANid5BhGsqcVINH/uS/HXCB3U+Xftr86Lh6mXYKQQ1h/Wzi2RINJ79h569pl+ 4+O+P4274jEJk7U0728HeqQmNlv586DqztZh7b8Br1jOd0eB6yonuHSFiXSsb4RbelqCz7 EptP9Bidwk2YXlVgR2tqbbuLAY/k8gGXCrCOMsFR5Xc+yqzOIkbmevZIUofrdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NmRCkZcK; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=ITrKe0Nh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7B0C052AC2 for ; Mon, 28 Oct 2024 10:48:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5MMQ-0004ZO-VY; Mon, 28 Oct 2024 05:48:30 -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 1t5MMN-0004YP-EO for guix-patches@gnu.org; Mon, 28 Oct 2024 05:48:28 -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 1t5MMM-0002fv-E8 for guix-patches@gnu.org; Mon, 28 Oct 2024 05:48:27 -0400 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=UursR2eJc5NRKHjOrL9U3P75dZn1pH3p/fk28R1Wf1c=; b=NmRCkZcKjWnNhB81JD9hWlxB4FGmkl0tkdoNxirz3Gi/se2QjUgEUW1lcagDdDI4wyXr8M1Iv80yRrzz+lRpJLg4YOA+3fDB8+HuEAt3FOlEbmqqWmmSqID0s8jJZFOqGxQnTV0AI10jeYKdomyngKhYKzft6yKo52yRAH1xRBMHqMtQS+c/rGFqr1r0kVNH9LkVM1Ivbz49X7+a8UPEr/9/f34zNEGoE2/W71kzkeMLdh9/NtyNt7GKTPHl3wDd6rIYsW+OOt4kGNDhiIjtrTbyy7SN3OWoRzYY89JhNpYJ0LbcTFKjz57Oc5cvLLvTzvcy+XFtOsy0ARK3mLhkvQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5MMw-0006nU-7P for guix-patches@gnu.org; Mon, 28 Oct 2024 05:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66870] [PATCH v4 2/5] gnu: Add function2. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2024 09:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66870@debbugs.gnu.org Cc: Sughosha Received: via spool by 66870-submit@debbugs.gnu.org id=B66870.173010888626026 (code B ref 66870); Mon, 28 Oct 2024 09:49:02 +0000 Received: (at 66870) by debbugs.gnu.org; 28 Oct 2024 09:48:06 +0000 Received: from localhost ([127.0.0.1]:52586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MM1-0006lh-PV for submit@debbugs.gnu.org; Mon, 28 Oct 2024 05:48:06 -0400 Received: from 20.mo583.mail-out.ovh.net ([91.121.55.239]:48579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MLw-0006kv-TK for 66870@debbugs.gnu.org; Mon, 28 Oct 2024 05:48:02 -0400 Received: from director2.ghost.mail-out.ovh.net (unknown [10.109.176.32]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4XcT7m2Mtgz1WHL for <66870@debbugs.gnu.org>; Mon, 28 Oct 2024 09:47:15 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-rdg64 (unknown [10.110.101.126]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 781011FEEA; Mon, 28 Oct 2024 09:46:56 +0000 (UTC) Received: from ngraves.fr ([37.59.142.100]) by ghost-submission-5b5ff79f4f-rdg64 with ESMTPSA id ouFdDJBdH2coECMAGFRN/A (envelope-from ); Mon, 28 Oct 2024 09:46:56 +0000 X-OVh-ClientIp: 89.85.243.20 Date: Mon, 28 Oct 2024 10:46:34 +0100 Message-ID: <20241028094646.3557-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241028094646.3557-1-ngraves@ngraves.fr> References: <20241028094646.3557-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6741888645220590090 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 49 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejjedgieelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucgoufhushhpvggtthffohhmrghinhculdegledmnecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeduteehuedtjeejteelfeduhfefvdehledtjeefgeefjeeiledufffgveevvdfgudenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhgihhthhhusgdrihhonecukfhppeduvdejrddtrddtrddupdekledrkeehrddvgeefrddvtddpfeejrdehledrudegvddruddttdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieeikeejtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=UursR2eJc5NRKHjOrL9U3P75dZn1pH3p/fk28R1Wf1c=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730108836; v=1; b=ITrKe0NhuC58FA4GKkSm/4fPNyuecNL+88Ac9dx08HViK64UKIne5JZGZGJb/QPR7v4ozp7v KsetzRuHhu2pYwvQQ/hBype+JrdblXay/dS1K5B0RVIjyEgMfI6a8dzZWfLBW34O7f8DWKJ2EY+ 3M35hrHlhxuG8UHzLzuJ/vh4Cx6bCEMMyvsHeESVDtr4K4Yd0QU10+/LqdRxNhz0K7kqdbYwfBQ zqU/OWqH/FE+76YSCyNMvCVKJ5DAp9Xml/wR93eeEW1d6jj/st62mRQI5vZ6eTl8M+W3G/BwrQI zon6YeIttctwo2q+flM8+O+Q83Kvh49LPskDnWwX7JidQ== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.72 X-Spam-Score: -2.72 X-Migadu-Queue-Id: 7B0C052AC2 X-Migadu-Scanner: mx13.migadu.com X-TUID: dweNptNCAHC1 From: Sughosha * gnu/packages/cpp.scm (function2): New variable. Change-Id: I29eb928aa943fa6b796d699271ca523075d44d38 --- gnu/packages/cpp.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 8cc7cfb1b0..9899fc595d 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -2595,6 +2595,36 @@ (define-public bitsery (home-page "https://github.com/fraillt/bitsery") (license license:expat))) +(define-public function2 + (package + (name "function2") + (version "4.2.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Naios/function2") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15k8i872s2jpwbpxfq42lr96q9wplvr8gjs2msf5i4ylyp846dgf")))) + (build-system cmake-build-system) + ;; The test size_match_layout fails on i586/i686. For more info: + ;; https://github.com/Naios/function2/issues/57 + (arguments + (list #:tests? #f)) + (synopsis "Improved implementations of std::function") + (description "This package provides the following implementations of +std::function: +@itemize +@item copyable fu2::function +@item move-only fu2::unique_function (capable of holding move only types) +@item non-owning fu2::function_view (capable of referencing callables in a non +owning way) +@end itemize") + (home-page "https://naios.github.io/function2/") + (license license:boost1.0))) + (define-public cpp-mustache (package (name "cpp-mustache") -- 2.46.0