From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 AJSTFFxQaGX8cQAAG6o9tA:P1 (envelope-from ) for ; Thu, 30 Nov 2023 10:05:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AJSTFFxQaGX8cQAAG6o9tA (envelope-from ) for ; Thu, 30 Nov 2023 10:05:32 +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 2EACC31DBC for ; Thu, 30 Nov 2023 10:05:32 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=NG9EkDqv; 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=1701335132; 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=qTOojD9YGp1o1T3PzU6beo6sqE3VK1dJlXD3zpwQdMxHk1HO1qOxFjxuCBk+T5NkIbDNBO FjO2eihHEjnBvCpv7+xDZmLWhZnIG0cTPTkYtmIKhlrf6/64QsQrGpLMrL3jQMXlEvGOB2 4ktq6g1RKcGd5rnaNAhmoniAf4Hh29FIsKkkUYwf2HbT8Jyt6GUVdLo8HpHQLul6vB7k6l yXyqo0BzsrMn7tQWxJXJiFVtWtR1aKI+0GUraGDmoe9WrUIdmUkF6v65r4NWv8f2t2/EHv 9dqIsQXZ2hfuHz+JYko0NKA0AQIDOvrVdsithBJLULQ7KCqcOtbwJWG0XQVfkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=NG9EkDqv; 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=1701335132; a=rsa-sha256; cv=none; b=lMKuB1dHZMXPIG1Tuoq9Cpw+Va7twN9v3RIqXRq9DVNo2sVoGFB7iaf2g6R0fwFJzIydSl V7wtvfBqSTCuNd0BSENoVfp931BRHeHuNK7TvASlwgdEk7SqxCPEwOq5FLOgtAKHk/DAdK 21Md8lDgz4V5oJBwyCDX2EsdjR/37m77dpYjlBcrNmhNb5+wuhOFY4QjLkigrd2+rGg8Ln 4X3DzJtY0hJxrvIDLTR14Zr1A2ka54vH4FoQafvyvYTskkXgEp9W6UeqYIOSBxS3NKRHrS IrEmNcFVPJ9ZlTk7g+i6bvvCXAVeTViv/tw1qGOfA25EgPyBewn/QEUgerJv1A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8cyh-0008K5-SH; Thu, 30 Nov 2023 04:04:59 -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 1r8cye-0008FU-CD for guix-patches@gnu.org; Thu, 30 Nov 2023 04:04:56 -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 1r8cye-0005Me-3y for guix-patches@gnu.org; Thu, 30 Nov 2023 04:04:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8cym-000102-2i for guix-patches@gnu.org; Thu, 30 Nov 2023 04:05:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66870] [PATCH v2 3/7] gnu: Add function2. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Nov 2023 09:05:04 +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.17013350453703 (code B ref 66870); Thu, 30 Nov 2023 09:05:04 +0000 Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 09:04:05 +0000 Received: from localhost ([127.0.0.1]:52258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8cxp-0000xZ-Bz for submit@debbugs.gnu.org; Thu, 30 Nov 2023 04:04:05 -0500 Received: from layka.disroot.org ([178.21.23.139]:34864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8cxf-0000vR-8Y for 66870@debbugs.gnu.org; Thu, 30 Nov 2023 04:03:57 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BC1E044E3F; Thu, 30 Nov 2023 10:03:46 +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 1IRPbnj8jkTg; Thu, 30 Nov 2023 10:03:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1701335025; bh=UJtIrhw6zRrKmHHkUUSlgZJN+48Ujl9j3t/GuQW1yXI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=NG9EkDqv7gHvuF8kL1uiy6XcKTyOcIjgmK59bQgJgk9kkEEatE6E2gK4LRcbsR+Y8 1w2b6KqyTX3dDXgyPrMEIgOyaCXgGKlOvkCoLlA68zCG1y5tfcrvQe0utWivPb7o5Z WWyZVx/uufhP61fjA/b1LGDgQ2Cog1wxyoBi6adzALyS5MHhwnaCvfoV/szBVnjFxj BU7e7AThKdS39QlyefeDCeNuuQlc4ryjR0ej847Y6LD1RYUXzPbpBBzueIS/DpZWtr UlCDGOUP1dl9kQJxeJ9a3sE+plyzQvcUFgXkOpUVQ+fLuVyZQ4OStgmApX5MlpqOkr qItxaTa0k/tlw== Date: Thu, 30 Nov 2023 10:02:40 +0100 Message-ID: In-Reply-To: References: 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: -4.64 X-Spam-Score: -4.64 X-Migadu-Queue-Id: 2EACC31DBC X-Migadu-Scanner: mx12.migadu.com X-TUID: KqJXPMbxyEuS 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