From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MORIJYZmxmU6yQAA62LTzQ:P1 (envelope-from ) for ; Fri, 09 Feb 2024 18:53:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MORIJYZmxmU6yQAA62LTzQ (envelope-from ) for ; Fri, 09 Feb 2024 18:53:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=IREngoNc; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707501190; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GDbiffkR4pY0K9JHWBLBt1IXMcckJLMR0K+uIzfjDcE=; b=L65Shh2H7ZwXcXCbV4Il8nvIvvM2UGRgLqaHftKK/uMlhfYu7bjVzNjw/vs5V5eRKL/GGz 52KnN3Z8XOQag2KqJJyWIjluBTEN/Zj20Sm0/VQGDtJ1z85/5SyrfZvwtNKcsfG7ImwfQk 0K7dMFbRRB3eszLv6WwRbJLyw/thSGps5cGn5ejpAqIeVmWcQadO5327x8PP0pB8vFXS66 89gCgGfpcjdVKC1mKPLK7yFcAbnPwWY/r9vhiZiDsCLdNi3EH+zKGfu0PaMsDmlQ32SWsR SWtj+pUEg1tiKp+QrXEoU/phI7pt4g869HwkCLIOIADzxmt3xm3J0CB9605dng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=IREngoNc; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707501190; a=rsa-sha256; cv=none; b=IWg4tSzmtongPjC7vQO/+w8kC1V7H++Eyh8HoE7eEqFJM/NVEynTz6d8BEIr6pmfw6/MVV PGzXN+Rq8IhRn9oStYvc0nVdMmN48xr938AZCCT59B1fD1z0+oeyM9PrZc0k6jtUfp1tIB qsoGbA3xi7AJx4v2E9hXZIm2Cu0lTbmJ+fVALbL0xwgFvqstilutTxLV6c3NnfI4XqQmjY fgtNZEG+NM4mqbVHk7tDhsE4Uqe3gbfgFwF26HBE28wTZNjNLiQtfW1PtTX5UcvRmh2Le9 xdd1Ys4XpwIsAiXw1UB+O6lGllGhq2ew3ToLcE9Q5Bd0T3ls1eFc29AhrrsVvA== 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 81EA346125 for ; Fri, 9 Feb 2024 18:53:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rYV3S-0004rk-NV; Fri, 09 Feb 2024 12:52:50 -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 1rYV3Q-0004rN-8u for guix-patches@gnu.org; Fri, 09 Feb 2024 12:52:49 -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 1rYV3Q-00053T-00 for guix-patches@gnu.org; Fri, 09 Feb 2024 12:52:48 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rYV3e-0005uf-IY for guix-patches@gnu.org; Fri, 09 Feb 2024 12:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69002] [PATCH] gnu: Add icecream-cpp. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Feb 2024 17:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69002 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69002@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170750117222693 (code B ref -1); Fri, 09 Feb 2024 17:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Feb 2024 17:52:52 +0000 Received: from localhost ([127.0.0.1]:54424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYV3U-0005tw-4W for submit@debbugs.gnu.org; Fri, 09 Feb 2024 12:52:52 -0500 Received: from lists.gnu.org ([2001:470:142::17]:41396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYV3Q-0005tC-6X for submit@debbugs.gnu.org; Fri, 09 Feb 2024 12:52:50 -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 1rYTig-0004rV-5X for guix-patches@gnu.org; Fri, 09 Feb 2024 11:27:18 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rYTid-0003a6-50 for guix-patches@gnu.org; Fri, 09 Feb 2024 11:27:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1707496032; x=1707755232; bh=GDbiffkR4pY0K9JHWBLBt1IXMcckJLMR0K+uIzfjDcE=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=IREngoNcsMHVbUA7PiB51y576CiEy4PNDMoOaOW2kMQvbW+aAWSzdTqz0+aQ95kKc 9BrLalzjzb9eeegRpL8gznGc0Y2/lSYn5JIyPbjwgE89m3vF7E8n6Jdzy91jGbE2FG uqydq5bh21qP7ga6iqMA17gZWlHvXs9HnMDu+e9VFfOUOzIXExwVcremqYu5bDolOy gitivMilcGKplNztF1L4wmyo/4cEv5FC5fnTsP7zbv4s38+pEAT7yMmickstslVIRK 4/Pb+kePdlEljUka3fAYSI1f6BB9CEidusQog+Xu9hYWm0vawuHbv9ytzxl0asfFd+ bV5t6/NHhUUSQ== Date: Fri, 09 Feb 2024 16:27:04 +0000 From: "Paul A. Patience" Message-ID: <394beb84d63b1760b1c0e40859e349a25a0dc221.1707496006.git.paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=paul@apatience.com; helo=mail-4317.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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: -1.67 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -1.67 X-Migadu-Queue-Id: 81EA346125 X-TUID: vvR0ecrkD84n * gnu/packages/cpp.scm (icecream-cpp): New variable. Change-Id: Idfc9fd789fe4f0a163cc8a8be8ad2a3b35d50dfd --- gnu/packages/cpp.scm | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 62a1923571..d589d44e43 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -38,7 +38,7 @@ ;;; Copyright =C2=A9 2023 Liliana Marie Prikler ;;; Copyright =C2=A9 2023 Denis 'GNUtoo' Carikli ;;; Copyright =C2=A9 2023 Foundation Devices, Inc. -;;; Copyright =C2=A9 2023 Paul A. Patience +;;; Copyright =C2=A9 2023-2024 Paul A. Patience ;;; ;;; This file is part of GNU Guix. ;;; @@ -3048,3 +3048,39 @@ (define-public tl-optional the std::optional for C++11/14/17, with support for monadic operations add= ed in C++23.") (license license:cc0))) + +(define-public icecream-cpp + ;; Last release was in 2020, last commit in 2023. + (let ((commit "04e8d3697e64e68d5150a6bc36ba8ebb8690f425") + (revision "0")) + (package + (name "icecream-cpp") + (version (git-version "0.3.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/renatoGarcia/icecream-cpp") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1adahzwm3wlk8d4cjzjakvrw2mm825vpxf37m0ffxxzd3kzrn6qy")) + ;; Remove bundled Catch2. + (snippet #~(delete-file "test/catch.hpp")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DBUILD_TESTING=3DON") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-test + (lambda _ + (substitute* "test/test.cpp" + (("#include \"catch\\.hpp\"") + "#include "))))))) + (native-inputs (list boost catch2)) + (home-page "https://github.com/renatoGarcia/icecream-cpp") + (synopsis "C++ library for @code{printf} debugging") + (description "IceCream-Cpp is a C++ library for @code{printf} debugg= ing. +It is inspired by the @url{https://github.com/gruns/icecream, Python libra= ry} +of the same name.") + (license license:expat)))) base-commit: 570ef13a87bb54d3410c431700ba78316a2641e2 --=20 2.41.0