From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +HUHHE5laGXFMQEAauVa8A:P1 (envelope-from ) for ; Thu, 30 Nov 2023 11:34:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +HUHHE5laGXFMQEAauVa8A (envelope-from ) for ; Thu, 30 Nov 2023 11:34:54 +0100 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 31BE231F9E for ; Thu, 30 Nov 2023 11:34:54 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=kjbAwW4m; 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=1701340494; 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=QfBJAjJdQwrwY4j+AvLAgG/1gEXT/5P0qbIf4Q/VtlI=; b=TFkbbGxkP3hIUb7Q/Rv5l9NJ+Mvq08ZEfPyfXgpQQ2/+3XqL9/TUQYDx3fbxub3kY7wp5b +bPPi7FqCsXmMKQ6oNVdlutf7NnMRDteEbcQRaMpzu1ADSHlMcd/VdPfT628LlsFS4WFvu KEYh/OAo141/X9j0mLHoAX7qdkb63Ef5cOtR6TG/LsPWDv3gXALMIe2fySItgs1wwX3LQE zlX4H6ZMxVTEyeoHMP7xliMoy2ussJmRy0DpOTk9mVZJK7FOi5itn6/LNN7Vyg+yIc7tP4 lThwPuVADz1rUZHWjXPuPtZpTjd6vJ8Yd0BPcYt1yT4C+3gre9vHJzjP0OLHcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=kjbAwW4m; 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-Seal: i=1; s=key1; d=yhetil.org; t=1701340494; a=rsa-sha256; cv=none; b=gZ5hbxg47B9z9Fh4n5xd+ncKKvsbaptSapaHU9qafn5B2wzOYAXMGYiHGAA9KUV9qS2BTD 1ErcxVrqMKKoL28ZfJ6i0RUwQvouRn0ZOu76KW3W8HdIOuxLDs2/Rl1c3WvxAi4Xh60JQV SkbrTbQuieqXUQQAjg0YwhkZ3W+2d/d3rJdtmRwcz8GD+cmu84EC9PJ7PO1ebB2BC52AfN MnrLhx+SUHqNKMEyaMk8WVYIadOy8zwYbxhgnru0U/UVHPwsDZMDO787+8liVePyOcpgiy 9gxF1ovOFqYA1MQBDTf9wVWXIhMtX34T2vCoqcQUJhyT+toKqUyJ/Srz4jBwiA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8eMr-0004FP-HH; Thu, 30 Nov 2023 05:34:01 -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 1r8eMl-0004Dc-Ob for guix-patches@gnu.org; Thu, 30 Nov 2023 05:33:55 -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 1r8eMl-0004BZ-9k for guix-patches@gnu.org; Thu, 30 Nov 2023 05:33:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8eMt-0003pV-A1 for guix-patches@gnu.org; Thu, 30 Nov 2023 05:34:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66870] [PATCH v3 3/7] gnu: Add function2. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Nov 2023 10:34:03 +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 , Gabriel Wicki Received: via spool by 66870-submit@debbugs.gnu.org id=B66870.170134038614591 (code B ref 66870); Thu, 30 Nov 2023 10:34:03 +0000 Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 10:33:06 +0000 Received: from localhost ([127.0.0.1]:52377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8eLy-0003n9-4x for submit@debbugs.gnu.org; Thu, 30 Nov 2023 05:33:06 -0500 Received: from layka.disroot.org ([178.21.23.139]:53208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8eLv-0003mH-EA for 66870@debbugs.gnu.org; Thu, 30 Nov 2023 05:33:04 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AE27344DD2; Thu, 30 Nov 2023 11:32:54 +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]) (amavisd-new, port 10024) with ESMTP id Lp-p_sHLSkcu; Thu, 30 Nov 2023 11:32:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1701340373; bh=UJtIrhw6zRrKmHHkUUSlgZJN+48Ujl9j3t/GuQW1yXI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kjbAwW4m1OIkvNMvuWVm12N0FxnxA5JILo6fSiire1LyKH5zEb5JieU+JiSZRswp0 anI0wLrs4yyPZHTjvVsZXH9GY4hHvI4AwYPXiIZBBNMbY9eQm8if3zVOsH8DT8fdm6 u9e31zDctJOPdENo649Xb52xO5m2/Bv1VLRjBnOSz0hlVmVxntQ8FMLNlN8kMweU/D YHRaA4JCuknkLAZfhzKYxqo3de9GwHMHZWxpbm+44fr81DwFKzeMJsJlfxcQhfAfgs t+6uvBHpffZuIpVce6ILHr/PcmGOZXpSeNX1TRUac1E8r7L/VcW5OHfaDUfKsw1Ct3 2GpWMwmtkgSWQ== Date: Thu, 30 Nov 2023 11:32:24 +0100 Message-ID: In-Reply-To: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@disroot.org> References: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@disroot.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Sughosha X-ACL-Warn: , Sughosha via Guix-patches From: Sughosha 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: -6.14 X-Spam-Score: -6.14 X-Migadu-Queue-Id: 31BE231F9E X-Migadu-Scanner: mx12.migadu.com X-TUID: I2gjfwEjBZMy 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 16fd5bcec5..24e519b10b 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -2343,6 +2343,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.41.0