From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GK2eAJrtZGXawAAAauVa8A:P1 (envelope-from ) for ; Mon, 27 Nov 2023 20:27:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GK2eAJrtZGXawAAAauVa8A (envelope-from ) for ; Mon, 27 Nov 2023 20:27:22 +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 D5A34593C4 for ; Mon, 27 Nov 2023 20:27:21 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=BZh1obCb; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701113241; 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=B09kvQj0dNe0fk72dhLObhzPP6isrGblWQ6gWHHg2JA=; b=eCH16kly5M4xiLByIfc+ygk5GIsWBcbtnoKmIjxGD5Q1CuRA1w9rlwcsmbwNfE66gu92vS g/Qgo2EMmB170nnQmhiF3ZecjUk/aXX7e2PzW6ify/LFXSwOi5splXgqU2GEnFiBHtGeak nmdgpHtxzx4TsYz2T3GyRMtVcRFCsqCYQNsMZsaxwxzybittj11lnW7CFocTNkztJ1sru0 Huj9iTEOMwKcyG8UsT4l41U2PG+YYMaPkGQK8YteNJeCz2mxHK1WUgC6zmIO92S6CHfs3p sxHeF5cRY5bVUT6trNOsAik1hXdX89AVX3+l1dMogID+WXxCmRpRXegugEbB4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701113241; a=rsa-sha256; cv=none; b=YhjTRm7RxJtcr4a7hntH2cMELWfb1eq+yQ162eLMaaiNdrZLKrtqZ2G9eH0LOR73PcCnU8 wIMfeXpdgSTsvPs/xguVurZx+HCPSdAfO9snwgZV8DbV5TtuPWXnWysddpGn+4Cdq5SdLR edk+iIxb9uZQpc3h6FUFX6P5i3z0aFRDwaLf4tEa2Tvy+rXSulgw5iTtTieJsuqkP99vD0 KcOcOG9Lf4pV+GMRehIARS6/F5gVIlYUvdAkKkSOfyvhrcLSNtHfgTA2J8NxkaU3MVf+jj 8AaevIrgxZHbSsD0pDlv11693SHz49Zj3SJDXPq1ZJMDVmolvGDc/NQrBgE3xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=BZh1obCb; dmarc=pass (policy=none) header.from=gnu.org; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7hFy-0006m4-Ig; Mon, 27 Nov 2023 14:26:58 -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 1r7hFw-0006lS-OF for guix-patches@gnu.org; Mon, 27 Nov 2023 14:26: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 1r7hFw-0007t9-FG for guix-patches@gnu.org; Mon, 27 Nov 2023 14:26:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r7hG2-0003ug-TG for guix-patches@gnu.org; Mon, 27 Nov 2023 14:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67493] [PATCH 3/6] gnu: Add expected-lite Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Nov 2023 19:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67493 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67493@debbugs.gnu.org Cc: Saku Laesvuori Received: via spool by 67493-submit@debbugs.gnu.org id=B67493.170111322215030 (code B ref 67493); Mon, 27 Nov 2023 19:27:02 +0000 Received: (at 67493) by debbugs.gnu.org; 27 Nov 2023 19:27:02 +0000 Received: from localhost ([127.0.0.1]:44850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7hG1-0003uF-M2 for submit@debbugs.gnu.org; Mon, 27 Nov 2023 14:27:02 -0500 Received: from vmi571514.contaboserver.net ([75.119.130.101]:40148 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7hFz-0003u0-BH for 67493@debbugs.gnu.org; Mon, 27 Nov 2023 14:26:59 -0500 Received: from X-kone.lan (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 71B843400A9; Mon, 27 Nov 2023 20:28:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1701113283; bh=q9cDe3sMGlKzqCPdKaQ1ISJsSX8OYFFPbUwKIzVGzLc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=BZh1obCbloObfOlv68nTUifC++CO8pGJd1VdmShUWMR4r68AZ+LoZx0VY6wZagXgk ZZxhF/4NTp+7XwAJk3+SW+/3T7ZR7pwxo4IpN6AW8iHULnm9EEKeCrHPudSrBrZoPW CTpNQEP9sY0nig0kmBl6vIvabPK9jPg/TnNSxjds= Date: Mon, 27 Nov 2023 21:26:07 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 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: Saku Laesvuori X-ACL-Warn: , Saku Laesvuori via Guix-patches From: Saku Laesvuori 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -6.13 X-Spam-Score: -6.13 X-Migadu-Queue-Id: D5A34593C4 X-TUID: ba+vwqugQR0N * 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