From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 0PA7CP3OZmUhjQAA9RJhRA:P1 (envelope-from ) for ; Wed, 29 Nov 2023 06:41:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0PA7CP3OZmUhjQAA9RJhRA (envelope-from ) for ; Wed, 29 Nov 2023 06:41:17 +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 B02BD57BC9 for ; Wed, 29 Nov 2023 06:41:16 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=cwrAvKg1; 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=1701236477; 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-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=ki824OQT2BvLl1qlRXJX/Qrngk1C+mNU0hBUILM50So=; b=MlKsvmX3K8FEuRkfSDXndZk7MCf0Gk4oDFZNm/O1o8Wr85hrjjvRcGnFocGnzhxl79rI6t Cr2hnXb8GfRt+sJWenGoLSOCuKYMNmBwQlkndeMOrcCHQIXc8QxARo0s3U0/JDRgxZS2FN 8nK6ebCHw6yzYwKepmIN6M/wdSzD5PH+a+R+tLKdLolFT20imeAqCa3AsWc/O0WWGS63pc PtithTqkQYHaMhmF7YQELs8JUO6cHWqHS34iumqfueFWFtLzFKDUxG8U52mfBeGrw6AmVv Eat3na7m0JAquQLgJxoF+9bGsBdNIvrnjUohjiglIR1BhXV/r79rSj1vYcDHdA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701236477; a=rsa-sha256; cv=none; b=Yw4Q5DW0tU/q7WA7raolUbIruSkjbg3F+giTcbZPSdgQLGYP3jAg3z+Uzutf1R7nNVJYYV tVkwRFHjVqoCuNYYajGJeV7mnyiCApKgUvs7fKG5lePrVAEC3tvbfxBDzSLZABMzzobq0v 8SmGMxEnz7WUUvZCEnQRWub0SKt0VFYNIUSdaccOdG6Xnx7vIJopMo3bx4xKeOY7fjzGaF 5EkAkdpIBHpdib+Tv/yviwsjdrmYnOUe9z2GmzVEJhE5vrFXlEYSvlMwD9EvQ44W6+616J d9ai1rJnu+uLmV9HLp4AWm8fCf2ikoYIB3Re7oA5sY/h9XGReJhARGBJp2Cmmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=cwrAvKg1; 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 1r8DJi-0000nm-3S; Wed, 29 Nov 2023 00:40: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 1r8DJf-0000nK-NN for guix-patches@gnu.org; Wed, 29 Nov 2023 00:40:55 -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 1r8DJf-0006Il-0i for guix-patches@gnu.org; Wed, 29 Nov 2023 00:40:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8DJl-0002Pp-S0 for guix-patches@gnu.org; Wed, 29 Nov 2023 00:41:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67493] [PATCH gnome-team v2 1/4] gnu: Add expected-lite References: In-Reply-To: Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Nov 2023 05:41:01 +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.17012364419220 (code B ref 67493); Wed, 29 Nov 2023 05:41:01 +0000 Received: (at 67493) by debbugs.gnu.org; 29 Nov 2023 05:40:41 +0000 Received: from localhost ([127.0.0.1]:48568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8DJR-0002Oe-6W for submit@debbugs.gnu.org; Wed, 29 Nov 2023 00:40:41 -0500 Received: from vmi571514.contaboserver.net ([75.119.130.101]:51926 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8DJM-0002OS-HX for 67493@debbugs.gnu.org; Wed, 29 Nov 2023 00:40:39 -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 E86B5342FEF; Wed, 29 Nov 2023 06:40:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1701236427; bh=AYqJab63C4KliexkFy6GjG22PJfvYZF+1RBmeH8hReU=; h=From:To:Cc:Subject:Date; b=cwrAvKg1f3WblfQbTovsxt9c3RX2CZXeoMzlMWvHasEA2fr2SAAeJFnr/9WInFFpl H5qYUMl4yACB3eTU/PgtslMfIlpj9hEtWnAbiHsxQnXVKu598/NaNCt5uvB81g8EL8 AgURABbstj2Rzf5oUFtJWRCyNlSR/JI/+0GbZ1wY= Date: Wed, 29 Nov 2023 07:40:08 +0200 Message-ID: <5c5ee4632e7a6435f483337e4a4fbce31d49fc42.1701236254.git.saku@laesvuori.fi> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: -5.13 X-Spam-Score: -5.13 X-Migadu-Queue-Id: B02BD57BC9 X-TUID: k4b1vBrneTLD * gnu/packages/cpp.scm (expected-lite): New variable. Change-Id: I627bc4a811107b1c4fb9ed8f3e2a5b23043eb97c --- gnu/packages/cpp.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 49e5b52e5f..5b59274659 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2023 Denis 'GNUtoo' Carikli ;;; Copyright © 2023 Foundation Devices, Inc. ;;; Copyright © 2023 Paul A. Patience +;;; Copyright © 2023 Saku Laesvuori ;;; ;;; This file is part of GNU Guix. ;;; @@ -2977,3 +2978,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))) base-commit: 60db3a6b3f6e4d1bd751d04b7d9ad1e894febf93 -- 2.41.0