unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Saku Laesvuori via Guix-patches via <guix-patches@gnu.org>
To: 67493@debbugs.gnu.org
Cc: Saku Laesvuori <saku@laesvuori.fi>
Subject: [bug#67493] [PATCH 3/6] gnu: Add expected-lite
Date: Mon, 27 Nov 2023 21:26:07 +0200	[thread overview]
Message-ID: <c633a12ed25c7bd7bb4a0950223dfac906a94547.1701112690.git.saku@laesvuori.fi> (raw)
In-Reply-To: <cover.1701112690.git.saku@laesvuori.fi>

* gnu/packages/cpp.scm (expected-lite): New variable.

Change-Id: I627bc4a811107b1c4fb9ed8f3e2a5b23043eb97c
---
 gnu/packages/cpp.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 5e35a03254..e35a17811e 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2977,3 +2977,24 @@ (define-public tl-optional
 the std::optional for C++11/14/17, with support for monadic operations added in
 C++23.")
     (license license:cc0)))
+
+(define-public expected-lite
+  (package
+    (name "expected-lite")
+    (version "0.6.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/martinmoene/expected-lite")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0d58nqh2fwdzdpln2wlnf898wyfxdnskq6ff33azbg92d5ibzys2"))))
+    (build-system cmake-build-system)
+    (home-page "https://github.com/martinmoene/expected-lite")
+    (synopsis "Expected objects for C++11 and later")
+    (description "Expected lite is a single-file header-only library for
+objects that either represent a valid value or an error that you can pass
+by value. It is intended for use with C++11 and later")
+    (license license:boost1.0)))
-- 
2.41.0





  parent reply	other threads:[~2023-11-27 19:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-27 19:23 [bug#67493] [PATCH 0/6] Update telegram desktop Saku Laesvuori via Guix-patches via
2023-11-27 19:26 ` [bug#67493] [PATCH 1/6] gnu: Update glib-next to 2.78.1 Saku Laesvuori via Guix-patches via
2023-11-28  5:23   ` Liliana Marie Prikler
2023-11-27 19:26 ` [bug#67493] [PATCH 2/6] gnu: Update glibmm-next to 2.77.0 Saku Laesvuori via Guix-patches via
2023-11-28  5:22   ` Liliana Marie Prikler
2023-11-27 19:26 ` Saku Laesvuori via Guix-patches via [this message]
2023-11-27 19:26 ` [bug#67493] [PATCH 4/6] gnu: Add cppgir Saku Laesvuori via Guix-patches via
2023-11-27 19:26 ` [bug#67493] [PATCH 5/6] gnu: Update range-v3 to 0.12.0 Saku Laesvuori via Guix-patches via
2023-11-27 19:26 ` [bug#67493] [PATCH 6/6] gnu: Update telegram-desktop to 4.11.8 Saku Laesvuori via Guix-patches via
2023-11-29  5:40 ` [bug#67493] [PATCH gnome-team v2 1/4] gnu: Add expected-lite Saku Laesvuori via Guix-patches via
2023-11-29  5:40   ` [bug#67493] [PATCH gnome-team v2 2/4] gnu: Add cppgir Saku Laesvuori via Guix-patches via
2023-11-29  5:40   ` [bug#67493] [PATCH gnome-team v2 3/4] gnu: Update range-v3 to 0.12.0 Saku Laesvuori via Guix-patches via
2023-11-29  5:40   ` [bug#67493] [PATCH gnome-team v2 4/4] gnu: Update telegram-desktop to 4.11.8 Saku Laesvuori via Guix-patches via
2023-12-04  7:55     ` Saku Laesvuori via Guix-patches via
2024-02-08 15:23 ` [bug#67493] [PATCH 0/6] Update telegram desktop Sharlatan Hellseher
2024-02-08 19:33   ` Saku Laesvuori 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=c633a12ed25c7bd7bb4a0950223dfac906a94547.1701112690.git.saku@laesvuori.fi \
    --to=guix-patches@gnu.org \
    --cc=67493@debbugs.gnu.org \
    --cc=saku@laesvuori.fi \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).