From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QOilEyufaWZCMAEAe85BDQ:P1 (envelope-from ) for ; Wed, 12 Jun 2024 13:14:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QOilEyufaWZCMAEAe85BDQ (envelope-from ) for ; Wed, 12 Jun 2024 15:14:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=AkTlWEov; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Seal: i=1; s=key1; d=yhetil.org; t=1718198059; a=rsa-sha256; cv=none; b=tSo4pGf1YZwc7IrmkNnPUowHqHeyom0ojIwmCW0GtA5ivZ9vrDYsT6VMnqRRna++CuqPcm 9cC+awm3/xaUOXDnrZ46eLV10Q4QzmuKMJqjIND0EwmUKL8tS8+Gsts7khGbAtHfV8kOQb 94fU73Y8iMY4I+GUoan2TOMILN2ud/mq3RqpxU1LyQTiaPhW4hvDIF5o/8NXwYjNEss3ow 2JR5ULBzhZAtt8Jg9R+OUITdmjYQ9bw/S/7mg/vI/gMtA1b3t4PR9XhsML4ISxJeZTRRhU skDHP0N82+QLle9mGwmSAIvRHpB5i5U84t8UHUqWJEPxn0aVl/cAkRJr01nACw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=AkTlWEov; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1718198059; 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=b3ryp64XIKbBkRCrxeg2PiWny/GRgA/HkyXNdsIuS8E=; b=F4yUcUjfpp5g+zV8Lm+IJhL9DOV35RdtMsAnGvmh7Vr7bwPjNykX+LQ1mo4Qbnp2RNB9rO gujPIcJm6lNnjTSQFrRnx7ou3REM0Cdaepq/sYLLBrsJ94qvix3IxWKqf2/NBm4tsLQIfD 5moIXKVSs+gLK/yW1TFbVLkNaGDmVaHEQdEmWho/3FLrz1SHyj/p/7dP5z/CbXKu685rj1 DJUTaYDeWtR5b1XqperEt8yBgr5pByW6cKlLbi3hi7KSuIaRfvnqTLrqU/INXxtNKwwC3b XM/10I9CYdFSnBN6btqCcQaooAZkGjt3vbztOErquSrTBQ4GlMrvN/t0e6V3Nw== 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 20E046BE91 for ; Wed, 12 Jun 2024 15:14:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHNni-0004CD-5z; Wed, 12 Jun 2024 09:14:06 -0400 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 1sHNnf-0004Ay-9B for guix-patches@gnu.org; Wed, 12 Jun 2024 09:14:03 -0400 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 1sHNnf-00028T-00 for guix-patches@gnu.org; Wed, 12 Jun 2024 09:14:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sHNnd-0002FX-Po; Wed, 12 Jun 2024 09:14:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71519] [PATCH] gnu: Add ruby-prism. Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, guix-patches@gnu.org Resent-Date: Wed, 12 Jun 2024 13:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71519 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71519@debbugs.gnu.org Cc: gemmaro , Christopher Baines X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Christopher Baines Received: via spool by submit@debbugs.gnu.org id=B.17181979868506 (code B ref -1); Wed, 12 Jun 2024 13:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jun 2024 13:13:06 +0000 Received: from localhost ([127.0.0.1]:37902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHNmj-0002D6-LS for submit@debbugs.gnu.org; Wed, 12 Jun 2024 09:13:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:54380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHNmg-0002Ct-W2 for submit@debbugs.gnu.org; Wed, 12 Jun 2024 09:13:04 -0400 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 1sHNmh-0002ST-Lu for guix-patches@gnu.org; Wed, 12 Jun 2024 09:13:03 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sHNmf-00021W-UT for guix-patches@gnu.org; Wed, 12 Jun 2024 09:13:03 -0400 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1f6e183f084so36062045ad.1 for ; Wed, 12 Jun 2024 06:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718197979; x=1718802779; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=b3ryp64XIKbBkRCrxeg2PiWny/GRgA/HkyXNdsIuS8E=; b=AkTlWEovxd07RQ2sIgOSfO6nbVaPU/BdW9gdByHTrfX3/dwpJuaYdomLQxRvLNVHXC Q+QT0cwfer55Gid2GYamajcZixxgeRJiU9BFWHjzTqdYP4wnPu4diidxLBNn1PMMYS3j cSW/29RTvsWgBS1yGbq4ic1kw6XdjvQXojK08iP6PfxY8K8QMG+bEv/gqQUc54ckUOtf JGPuYzRZo8D03MPjhznkn1gDYxPXd7jYYl58MOCB1qcVgQ9qYUgqNRaZ0CIOxPJgXHcO PBoetMY2p98elFFUE3TN1fAHNes2xexMWx6OHCDg6WMl52bRkM/19roz0Mjr6ZRBrkFF hMyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718197979; x=1718802779; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=b3ryp64XIKbBkRCrxeg2PiWny/GRgA/HkyXNdsIuS8E=; b=JtHWlGeNXn+h/XHAHU8Nlf/WBj2aQT9EOWuxHjXHZSSaZFplp2FZ+yFGsRgkuOOprt O3fpLzEkLPB44byGEsNrMW0px1Pu+OiyA2buvA9WJQYNoZby1fPWuXf/q5NHT/BO/57n beIxEidoxKJ6pPYhGt6exKQiT+lgij122z6/lGyolBnPn4a1XIs6IA5xAfJd9PWKiNpS diYRKViYyuKiL1p5MmS7EIXa/pOM3LHgzI7Ujzdll1JUvBAAjjvzkRmFwWEsHJJTi5E7 Ywd8bU0g++Y/07RjKcSEvUq8sfhb8eYzjDGTAaUSVYSpD+TUD4qMbtDTjfFTiX9MrdSJ hGcg== X-Gm-Message-State: AOJu0YyBEoG7OXPXFdwm8v2/unJwWPep5hKkaUlko6Nj7Pg6H7Dl0J7X 9pzlRNZlOeXwEN7qbTx00MK2L4VBQH6zAksfgqwoSRmduxM064KnlNmZJHV8 X-Google-Smtp-Source: AGHT+IGWobIVVbEYP11zr1IsTPVzwDNOGI+5IqjVacoDjjgUt7AEkcXgSx+0wKj0Na9CqG/FDTo7Pg== X-Received: by 2002:a17:903:2282:b0:1f6:a43f:5b38 with SMTP id d9443c01a7336-1f83b5178a1mr19534075ad.4.1718197979329; Wed, 12 Jun 2024 06:12:59 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6ee9efba5sm86587465ad.159.2024.06.12.06.12.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 06:12:58 -0700 (PDT) From: gemmaro Date: Wed, 12 Jun 2024 22:12:09 +0900 Message-ID: X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=gemmaro.dev@gmail.com; helo=mail-pl1-x62c.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 20E046BE91 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 2.46 X-Spam-Score: 2.46 X-TUID: QkvBPIf+OKSv * gnu/packages/ruby.scm (ruby-prism): New variable. Change-Id: I9d51611b005c96884ded4d1892e18b2811c46fe7 --- gnu/packages/ruby.scm | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 5c1e666bb0..04868d80d9 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -32,7 +32,7 @@ ;;; Copyright © 2022-2024 Remco van 't Veer ;;; Copyright © 2022 Taiju HIGASHI ;;; Copyright © 2023 Yovan Naumovski -;;; Copyright © 2023 gemmaro +;;; Copyright © 2023, 2024 gemmaro ;;; Copyright © 2023, 2024 Janneke Nieuwenhuizen ;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2023, 2024 Hartmut Goebel @@ -7138,6 +7138,38 @@ (define-public ruby-prawn-manual-builder (home-page "https://github.com/prawnpdf/prawn-manual_builder") (license %prawn-project-licenses))) +(define-public ruby-prism + (package + (name "ruby-prism") + (version "0.30.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ruby/prism") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "13izycs2i2rxg22r75n70q25q308g4aga9vza529g7pk0f0zl2xm")) + (modules '((guix build utils))))) + (build-system ruby-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-before 'build 'compile + (lambda _ + (setenv "CC" + #$(cc-for-target)) + (invoke "rake" "compile")))))) + (native-inputs (list ruby-rake-compiler ruby-ffi)) + (synopsis "Parser for the Ruby programming language") + (description + "Prism is a parser for the Ruby programming language. It is designed +to be portable, error tolerant, and maintainable. It is written in +C99 and has no dependencies.") + (home-page "https://ruby.github.io/prism/") + (license license:expat))) + (define-public ruby-progress_bar (package (name "ruby-progress_bar") base-commit: bb73faea028cc9a15af62cb8ade15d58da51bea2 -- 2.45.1