From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6G6nOBTzzGXVEQAA62LTzQ:P1 (envelope-from ) for ; Wed, 14 Feb 2024 18:06:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6G6nOBTzzGXVEQAA62LTzQ (envelope-from ) for ; Wed, 14 Feb 2024 18:06:29 +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=df09GStx; 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=1707930367; 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=Qwo+wZ9D6RpMB/Xn0K8NCjaQ9T+r9tYSwm6e+FuMFNs=; b=F+AX6gl3Q8RSF6WraF6XU4F6H8On/Wt83vdlZvcbAEuN3uI/MZiLsWFSSghkbZJJ1dMULt l2z5WfE1LSxj1kqNv4v7+UGao10qk4Nk4gehXtutUFFiXUNi+NPNmEwWerJH+YpoOflqBJ 9FLXjXX/DvE5vXqcPU2TkdV0lexONJBoGd5l4l0xVBMAvYoEV+YQA32QzGyna+rd15gE86 Vy3HTN/v+TdmSA6vnuwmp8nUxm1Dzszvs7jc0CWF/bQt0XNdRhj3R71wAPk2MLvNaYd6pA SNUPxUxeDnGjUoXMP83GynXEpwo0LGo7LkrIDbXt/gLL6lXfv5oQ92erD8aUgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=df09GStx; 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=1707930367; a=rsa-sha256; cv=none; b=Z0mVOLeCBlqLKybTI/jax9jptqvaXX1dLqZZj930KsHp32p2diKtXoXF/S10weHLqPR4eB iWK++UdoQSWF4Fia7T6PXS5NPaXWebj/bSqEdjqP/FbCe05ooAoys/yoJOBU2Oo9b+QrtQ 3+skxjdkZDuOfxcZn4LKfAH/wLY2MSKjUUJOQGKFbDcXrI9gtQPI4vLNIKT1kf04aUoQFa jOrv+BVddunREefRG65MCuaub55Wl4qcowepbnDX+2OAKCMI63s5xKZHt3STyZVYTHt9eL pdkPnIoviPQiCBq6JDTjSqty1w8p5oAd0+Adz5JBg+n7b6LEdVa0gI5DdMTKHA== 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 766006BC16 for ; Wed, 14 Feb 2024 18:06:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raIhj-0004lU-J1; Wed, 14 Feb 2024 12:05:52 -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 1raIhg-0004l0-EO for guix-patches@gnu.org; Wed, 14 Feb 2024 12:05:48 -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 1raIhe-0001pJ-Gk for guix-patches@gnu.org; Wed, 14 Feb 2024 12:05:47 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raIhu-0005le-Ja for guix-patches@gnu.org; Wed, 14 Feb 2024 12:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69128] [PATCH] gnu: Add lexy. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Feb 2024 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69128 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69128@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.170793030822101 (code B ref -1); Wed, 14 Feb 2024 17:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2024 17:05:08 +0000 Received: from localhost ([127.0.0.1]:52958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raIh2-0005kP-45 for submit@debbugs.gnu.org; Wed, 14 Feb 2024 12:05:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:56382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raIh0-0005kF-GP for submit@debbugs.gnu.org; Wed, 14 Feb 2024 12:05:07 -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 1raIgX-00049n-Jz for guix-patches@gnu.org; Wed, 14 Feb 2024 12:04:46 -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 1raIgT-0001PK-IY for guix-patches@gnu.org; Wed, 14 Feb 2024 12:04:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1707930268; x=1708189468; bh=Qwo+wZ9D6RpMB/Xn0K8NCjaQ9T+r9tYSwm6e+FuMFNs=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=df09GStxlvexRTWU1bXQSqxHlSfUhwKdjr9utdNVHNeNvCVBHZrodG4LDfzNC+CPL 0OpgsD9dj7O9TtLskO33v8LUvBhgABrDATYp2zTwUq4wBKenC7HF6wyte/tNAgk1qa KIhkjW0Wp+vcgfU3fraNVkdyn1EDD/y9Snh/8elY4DPOgJpIHZDZTq5YSrG34aLsay sNq3MSMDc+vG++YzKBL+t59QOMoBpkdeMLT4HC4MIRtbQ2QA9d/bx6zoJxDhC65/+T pSJodqHFUEn0EuZPfvKa7mZt1Sy2lDG4SwO0FZpo5vXwOh1C66w9rvP21p75uoLQG+ 1jNZdKyVdWp1Q== Date: Wed, 14 Feb 2024 17:04:12 +0000 From: "Paul A. Patience" Message-ID: <9cf5dba6869a02d2ea8d3303df690c6a9ac85973.1707930219.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: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_SBL_A=0.1 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -2.81 X-Spam-Score: -2.81 X-Migadu-Queue-Id: 766006BC16 X-TUID: w+9RMgs0kuvC * gnu/packages/cpp.scm (lexy): New variable. Change-Id: I77d896570999d639f223eb014fcfb48b911c8cc8 --- gnu/packages/cpp.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 62a1923571..402d9d59f5 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1376,6 +1376,44 @@ (define-public pegtl parsers according to a Parsing Expression Grammar (PEG).") (license license:expat))) =20 +(define-public lexy + ;; Bug fixes since last release. + (let ((commit "b82ffcbe70687a8e97115480b0b6cb3ce39e3a2a") + (revision "0")) + (package + (name "lexy") + (version (git-version "2022.12.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/foonathan/lexy") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05fhpjzmhasjqgg0z2k0055i7yjznbh6xgwn9fqlk61vdrfk9hw9"))= )) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DLEXY_BUILD_DOCS=3DOFF") ; needs = Hugo + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-dependencies + (lambda _ + (substitute* "tests/CMakeLists.txt" + (("^message\\(STATUS \"Fetching doctest\"\\).*") ""= ) + (("^include\\(FetchContent\\).*") "") + (("^FetchContent_Declare\\(doctest .*") "") + (("^FetchContent_MakeAvailable\\(doctest\\)") + "find_package(doctest REQUIRED)") + (("^(target_link_libraries\\(lexy_test_base .*) doc= test\\)" + _ prefix) + (string-append prefix ")")))))))) + (native-inputs (list doctest)) + (home-page "https://lexy.foonathan.net/") + (synopsis "C++ parser combinator library") + (description "lexy is a parser combinator library for C++17 and late= r.") + (license license:boost1.0)))) + (define-public psascan (package (name "psascan") base-commit: 570ef13a87bb54d3410c431700ba78316a2641e2 --=20 2.41.0