all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adam Faiz via Guix-patches via <guix-patches@gnu.org>
To: 65553@debbugs.gnu.org
Subject: [bug#65553] [PATCH 2/6] gnu: Add span-lite.
Date: Sun, 27 Aug 2023 02:51:25 +0800	[thread overview]
Message-ID: <3fe1dc59-aa8a-cbb4-fa37-7e7c33f1f599@disroot.org> (raw)
In-Reply-To: <ce063967-c2d3-f383-e67e-057d941901e9@disroot.org>

From e865289a2ee999420d353b28d584dbe294ac19b1 Mon Sep 17 00:00:00 2001
Message-ID: <e865289a2ee999420d353b28d584dbe294ac19b1.1693075221.git.adam.faiz@disroot.org>
In-Reply-To: <cover.1693075221.git.adam.faiz@disroot.org>
References: <cover.1693075221.git.adam.faiz@disroot.org>
From: AwesomeAdam54321 <adam.faiz@disroot.org>
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




  parent reply	other threads:[~2023-08-26 18:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-26 18:46 [bug#65553] [PATCH 0/6] gnu: Add arrayfire Adam Faiz via Guix-patches via
2023-08-26 18:50 ` [bug#65553] [PATCH 1/6] gnu: Add arrayfire-glad Adam Faiz via Guix-patches via
2023-08-26 18:51 ` Adam Faiz via Guix-patches via [this message]
2023-08-26 18:52 ` [bug#65553] [PATCH 3/6] gnu: Add arrayfire-threads Adam Faiz via Guix-patches via
2023-08-26 18:53 ` [bug#65553] [PATCH 4/6] gnu: Add arrayfire-forge Adam Faiz via Guix-patches via
2023-08-26 18:55 ` [bug#65553] [PATCH 5/6] gnu: Add arrayfire-docs Adam Faiz via Guix-patches via
2023-08-26 18:56 ` [bug#65553] [PATCH 6/6] gnu: Add arrayfire Adam Faiz via Guix-patches via
2023-08-26 19:18 ` [bug#65553] [PATCH 0/6] " Saku Laesvuori via Guix-patches via
2023-08-28  6:30   ` Adam Faiz via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3fe1dc59-aa8a-cbb4-fa37-7e7c33f1f599@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=65553@debbugs.gnu.org \
    --cc=adam.faiz@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.