From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8AaBBeNJ6mSaXgEA9RJhRA:P1 (envelope-from ) for ; Sat, 26 Aug 2023 20:52:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8AaBBeNJ6mSaXgEA9RJhRA (envelope-from ) for ; Sat, 26 Aug 2023 20:52:19 +0200 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 750A75E24F for ; Sat, 26 Aug 2023 20:52:17 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=L2MJFKfa; 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=1693075939; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=6nQfQaioWMBsEaTvqEoxwMKmLlDM32b1W0Q73t5ybRg=; b=KzDBpsyVZ8kcNTo/QJPd3HCn92YaLovPPIFWyGrLE5hXBdl9xHLY67No7Rl41uF+rAMVDO AvMzCnY1mDbCnTi87tedDS16Aehrjc8zWBX78FgTDeiPvso/o0DZu36Ivn91uPUaUcZy+n x889xu3UC58svShIAU5Ah8J10Gb6MYjc1mtAkNq6F2UcaaWx4v5s3L6NB2Mh1xrxcn9SXV BQ18freK+/sRQKwnDIeOlGU02VE9bfEzFwfPDo3PsCdLezjCoqdR6+CIEE4e79dT5rbxmN NM7d7bkjsO4jknxiEoy+5lxkhxYvXGp+VXiLQeJiUUpbvW3gDR5eI0Su1NaX8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693075939; a=rsa-sha256; cv=none; b=OSDQfD0d/FqH9nVxbnV6oXbqiR5ZLz8x9S/DdhkoyhTb8Qgi4EHvWzuTgR0DJStrtpVt8t 7MlXYkSsMBtieBrH97YZ5e3jJyxYIyHHQTOMQpc3coLQKFQvv3xn/h108aywyL04rp6WEz cH7OrMo6koBfhuRUKB4OukbJN5S1PlqtpwhykSiyUbItIjgZ7ZiZWvK6KmygeMxRMWCV1J 11jMu5H2NrJBGVV+cMvfjYOiNUpfEK/zUHdffhMWL9ZizNWXgycRD49McWdHbG1P6Iik2R Wuh5z9Mb/KLLtNAj9+k9kMR+S6BRrR9CtIby22FtO1OFpNbSuhFEfyD/UxjIRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=L2MJFKfa; 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 localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZyOA-0002Yo-46; Sat, 26 Aug 2023 14:52:02 -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 1qZyO7-0002YN-0D for guix-patches@gnu.org; Sat, 26 Aug 2023 14:51:59 -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 1qZyO5-0006UT-2f for guix-patches@gnu.org; Sat, 26 Aug 2023 14:51:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qZyOA-0007Tw-1n for guix-patches@gnu.org; Sat, 26 Aug 2023 14:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65553] [PATCH 2/6] gnu: Add span-lite. References: In-Reply-To: Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Aug 2023 18:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65553 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65553@debbugs.gnu.org Received: via spool by 65553-submit@debbugs.gnu.org id=B65553.169307589828726 (code B ref 65553); Sat, 26 Aug 2023 18:52:02 +0000 Received: (at 65553) by debbugs.gnu.org; 26 Aug 2023 18:51:38 +0000 Received: from localhost ([127.0.0.1]:43407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZyNm-0007TF-0j for submit@debbugs.gnu.org; Sat, 26 Aug 2023 14:51:38 -0400 Received: from layka.disroot.org ([178.21.23.139]:56870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZyNj-0007T7-Uc for 65553@debbugs.gnu.org; Sat, 26 Aug 2023 14:51:36 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0DBFD4134B for <65553@debbugs.gnu.org>; Sat, 26 Aug 2023 20:51:30 +0200 (CEST) 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 k8ga93U10og2 for <65553@debbugs.gnu.org>; Sat, 26 Aug 2023 20:51:28 +0200 (CEST) Message-ID: <3fe1dc59-aa8a-cbb4-fa37-7e7c33f1f599@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1693075888; bh=gbhvCXArkN6Y08/4yAbuGp9G1qHzMaqdXw/HaY5omnc=; h=Date:To:From:Subject; b=L2MJFKfavCcYqMY2G1Tt7HvipoIL9tcl9U9SIWfwqmM22koLeB49bjIX0ntLXC19U /8Fw8cC0cYzgdvrTH9L+6Md18WOF6AwRQKDnVHygkDHFtB9GnP4mDEOIxVBOA1Jz9R ZDJfkrPF/V5O6zZbKCYzKkq17ylFBZy4RMkZ0bP7y9Ft3/TYAXxbjEwhijZ1dVxI0z tWTC0z3MVXqLhKBR6F/q2h0ewl01+r8+0TDqZvb9MEggDDlUdG2J32GB+rbAbl0571 QMgj2nK5IO8wUFPfWkIjfJSzn1M13ySqNTuBiR43X5IJ5EGSk+osYxCrAuEMHKT914 76dTAOYjW06pw== Date: Sun, 27 Aug 2023 02:51:25 +0800 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches From: Adam Faiz 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.72 X-Spam-Score: -6.72 X-Migadu-Queue-Id: 750A75E24F X-Migadu-Scanner: mx1.migadu.com X-TUID: M3mTB0c+VXD+ >From e865289a2ee999420d353b28d584dbe294ac19b1 Mon Sep 17 00:00:00 2001 Message-ID: In-Reply-To: References: From: AwesomeAdam54321 Date: Sun, 27 Aug 2023 02:05:30 +0800 Subject: [PATCH 2/6] gnu: Add span-lite. * gnu/packages/cpp.scm (span-lite): New variable. --- gnu/packages/cpp.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 41f24b0998..6ab3710000 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -759,6 +759,28 @@ (define-public concurrentqueue concurrent queue for C++11.") (license license:bsd-2))) +(define-public span-lite + (package + (name "span-lite") + (version "0.10.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/martinmoene/span-lite") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xs7gq84d05h607076c2fvxzx8yb4zy3gmh432379af1yb435yjr")))) + (build-system cmake-build-system) + (synopsis "C++20-like span header for C++98 and later") + (description + "Span lite is a single-file header-only library to provide a bounds-safe +view for sequences of objects. + The library provides a C++20-like span for use with C++98 and later.") + (home-page "https://github.com/martinmoene/span-lite") + (license license:boost1.0))) + (define-public spscqueue (package (name "spscqueue") -- 2.41.0