From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2EVtH9xtfWZ06QAAe85BDQ:P1 (envelope-from ) for ; Thu, 27 Jun 2024 13:49:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2EVtH9xtfWZ06QAAe85BDQ (envelope-from ) for ; Thu, 27 Jun 2024 15:49:16 +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=jSg6t4f2; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719496156; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SVkDPbSrdofvkM11tChb98nMQbf0A+qmqO9K5WA3eG4=; b=OJgX4DRcbUa7JHd3FOWjh8GGJvZFWDtdPR75kZL3k6Jo5n+p1OHquuMQUB7b/RuFb5V9f6 ZIl3Ae2g/d8A3vBkm8jRpukP0MBxeeKXtf9UM+zn2foGH+BHhryv2GOQEiby7ES9Rskomn yQx5K0U1ozestF7LX69zeRwvf/BXuWEs1ZcErd4+RdKH4pbp1iob5ouMHjfFRwzLTpneia AhLzP5GXiGnDgL8KcXN87Xt2GczPdO3AdOJg/12ZmDEFLq/VDEAAOpydcJW9adb2Duh4O6 0jsxvDC5MYXmDX0DwsMIjuZaTsPUyxDitgrWBPS/GRgL/x18Q+dAEraleB40pQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jSg6t4f2; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719496156; a=rsa-sha256; cv=none; b=VANKY8RTvzmU/cLPt3zm1Y1poix72AIKeuNaqzi6nLtVKyIOYEnXMbIFLg3ck8BD7yzjQT bOtEHHUBifufgqCyDRirXQF8eGEFkOaidbpDQH1BoisMj+D14unJIQ3vGcX541dbSNY9SZ Tu0LFxN6WwuupTPj2l4/IO1HjfyM8mt6Z/uwP111mR+RfV+nVjO72ilvjQHe0MijuzYLfM cGC2/DeSb7tynN5l933op6zAkm8zhwN2L84wrcINDiaGi1uiSvNyOgKavJaWzndduC/SPL lu67DU20UtBa3JhtIfdvw/a2quhA/6SAdzBK4wPgfRRfdzstqzlaI/7VINlHZQ== 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 0A4F813021 for ; Thu, 27 Jun 2024 15:49:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMpUq-0007fv-T5; Thu, 27 Jun 2024 09:49:08 -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 1sMpUj-0007fX-6T for guix-patches@gnu.org; Thu, 27 Jun 2024 09:49: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 1sMpUh-0002Qp-Vu for guix-patches@gnu.org; Thu, 27 Jun 2024 09:49:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMpUj-0001fM-S3; Thu, 27 Jun 2024 09:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71519] [PATCH v2] gnu: Add ruby-prism. References: In-Reply-To: Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, guix-patches@gnu.org Resent-Date: Thu, 27 Jun 2024 13:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71519 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71519@debbugs.gnu.org Cc: gemmaro , Christopher Baines X-Debbugs-Original-Xcc: Christopher Baines Received: via spool by 71519-submit@debbugs.gnu.org id=B71519.17194961146365 (code B ref 71519); Thu, 27 Jun 2024 13:49:01 +0000 Received: (at 71519) by debbugs.gnu.org; 27 Jun 2024 13:48:34 +0000 Received: from localhost ([127.0.0.1]:41322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMpUF-0001eY-58 for submit@debbugs.gnu.org; Thu, 27 Jun 2024 09:48:34 -0400 Received: from mail-pf1-f175.google.com ([209.85.210.175]:51343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMpU1-0001e8-P5 for 71519@debbugs.gnu.org; Thu, 27 Jun 2024 09:48:30 -0400 Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-7066a3229f4so4252946b3a.2 for <71519@debbugs.gnu.org>; Thu, 27 Jun 2024 06:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719496029; x=1720100829; darn=debbugs.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=SVkDPbSrdofvkM11tChb98nMQbf0A+qmqO9K5WA3eG4=; b=jSg6t4f27ET2wwswHHFUCjcoDWC2UxsezXhNq+EbMMnGfcDwsqj2LeiU/jrOV1MDGZ fM2vOrjf/K3/Cv5FgktkXrMfNYlIXGqoQ8dR6WBhC2+DERMcpuXrexxElP329PABUkTv mGagRz+e0D85SA9VrED9UVqtXdYSUNBnxRX4e+M4IjD+w2I+ar9/RC2mo4ZyjIZ+95l7 8/kvLHOts/nJ9c7IZvBFboJTFORrdClRgBI1zTbpC4z+yXMzhuh96EVD0S564AAgZVz9 96dj/l1pLDi/xFtQi8NdPEjYvLGK03ht2ipY0gcUHu2wgs+Yx3rsN7YIJarL4Ylmi8MX ZGvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719496029; x=1720100829; 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=SVkDPbSrdofvkM11tChb98nMQbf0A+qmqO9K5WA3eG4=; b=naQEIOS6MlPk+e2aZLsv9+gRJOtVkSL5siNDmMQbzCeLs9DDKx/uSsIWUrYUg0Pln/ JxztpgyVXkuv4dOicYaQ4Xvy8NIAIsgauY9sTOu1eSnCvLUGr96dmGTalWMcD8W/INGs 8CKJxKVVuMOrMeLMCkLNq+PufRBbC/6Vz4HWAnd1SUL9m1NVhQjih+0HhuFOq3kozuky DTMUzjIY7e23DJoAU6ZhtWH1Ulhxlp70DuN6n2+kwZgpad4aXRu3Es29Q2XGgXfPOeit NhVPDYJdFk5NcVlCOoMOCLDofuZJmEyljeaDE2H2Yqrw+oeFVzZYxhhUxiOXXDXfMUnB Q5jg== X-Gm-Message-State: AOJu0YztZJpwRt3/8vTKr40qtAOvXi/talrBscNoeLEZukkXpE1NMH5b Y424zRor95PMvQw4I1g8vDxXOqpfb1ZEqFGiigM3je4243XSvGm4+4RLNSMr X-Google-Smtp-Source: AGHT+IEkpUD4APuAXQ4ouLoO0h2zvOsTeh0NmaKDWkCEnwXKUmKndyYhilB3eV3esWq/Nf7UrReCLQ== X-Received: by 2002:a05:6a21:78a2:b0:1be:c65c:1e32 with SMTP id adf61e73a8af0-1bec65c4c7fmr4514118637.51.1719496028762; Thu, 27 Jun 2024 06:47:08 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-706b4a367acsm1344938b3a.181.2024.06.27.06.47.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 06:47:08 -0700 (PDT) From: gemmaro Date: Thu, 27 Jun 2024 22:46:01 +0900 Message-ID: <46df556821252f48e1f0967dd62b6abfcec12e2d.1719495961.git.gemmaro.dev@gmail.com> X-Mailer: git-send-email 2.45.2 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: , 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: 0A4F813021 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.27 X-Spam-Score: -5.27 X-TUID: mxty2sssGTdW * gnu/packages/ruby.scm (ruby-prism): New variable. Change-Id: I9d51611b005c96884ded4d1892e18b2811c46fe7 --- This adds supported-systems to exclude i686-linux and armhf-linux. gnu/packages/ruby.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9547481caf..1f5a966dff 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 @@ -7152,6 +7152,41 @@ (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.") + ;; Some tests fail on i686-linux and armhf-linux. + (supported-systems '("x86_64-linux" "aarch64-linux" "riscv64-linux" + "powerpc64le-linux")) + (home-page "https://ruby.github.io/prism/") + (license license:expat))) + (define-public ruby-progress_bar (package (name "ruby-progress_bar") base-commit: c6e6001a10d96b7c8f023e3d9b7022d935d9f2f6 -- 2.45.2