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 aAjOAiPNJGcwYQAAe85BDQ:P1 (envelope-from ) for ; Fri, 01 Nov 2024 12:44: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 aAjOAiPNJGcwYQAAe85BDQ (envelope-from ) for ; Fri, 01 Nov 2024 13:44:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="Y/pK3wb8"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=E7aBBSqq; dmarc=fail reason="SPF not aligned (relaxed), DKIM 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=1730465058; a=rsa-sha256; cv=none; b=JRbS+sjH6pgFC7j9Pw9H+mpIXgI51kCxo3sYh5APqOCoGzMFh7/hAck8IQpk/8aXyGTILx wZdiJ2caj5+o9xdvOij+SrKeyabnNq8HlzPSi1w4OF7UsRWXxB8/qFYrAjAu7d+wvtnFNt 0U522Jdg6z0P0M3uJqs6NI7nnwFtf6/I3Supv6GNVC1WDIactl0ltnuOP99fsHyLnmLOz7 Ye7vfmF+0DH8XItqs0bOSl1kCvtlMV2cp5gTBFEr8CaVJOLIbiX/PU6C5GtYPHN/Z9oTqf Eu9XnFJHW3qyXiMDSdq3R9ZzIr8bpG/J/LFLHaK0JBoMXDBdprmwGKbaTMR9Dw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="Y/pK3wb8"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=E7aBBSqq; dmarc=fail reason="SPF not aligned (relaxed), DKIM 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=1730465058; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=bZOZ/aoyjVL27JEtWqUc4bVbktGOtaMSECwY4EeQCNk=; b=UooTslkTFU4PmNdR++MCZ1ibyef3Et+UxxnSCdoz7U10Z+TfrO+yJDfyE5jgorX6zi5jHH niSzhMm0Rg6oB+za2EYuPPQnrL0rPJO8+/nWRYembHq7JCISI8sG+CDSDoysBDE35W5VvA fQla9cRv7ETJUSW7ky83qkCq5DujlqOIUTh3GTEQgL9Av9/ezGs34P8225Tb4qz4cTUXk3 WbtDwuzabWyzAYmYw2l2cH/imA/yPc7ZE75CgLdTNqT667lt12VW14c75MzczSM08aV7MN tRQ+KvXnX448K3Vy9e9rCsYU75JNaxgsMXy8dgmEiN+UUFgLhmjCe5Blucy6MA== 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 87E79189E8 for ; Fri, 01 Nov 2024 13:44:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6r0b-0008Ca-HD; Fri, 01 Nov 2024 08:44:09 -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 1t6r0X-00085q-IK for guix-patches@gnu.org; Fri, 01 Nov 2024 08:44:06 -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 1t6r0U-0000Yf-Do for guix-patches@gnu.org; Fri, 01 Nov 2024 08:44:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=bZOZ/aoyjVL27JEtWqUc4bVbktGOtaMSECwY4EeQCNk=; b=Y/pK3wb8oLbqliF/80HQUQ6tJuYtX78WLYVYLa9mS3WKGjN2cBir7PkjoLtHNEua745JSXnXf1c154jF+85D05bdFStcjNN4RBtWnCo0BYowC4fpKOhBXO/6dleg4Quv8bxjeWC7QiV33IG8ZnqkSP+la81cG87bWp59Ys8RZbcnlAeqbjcvkak0hBTLdLCIs5dtzXCbBbvK/UHE7Cq2o9nx2JYi57f4jTIXhLwUV+WNVDpraRNU1+YhOYnsRgEKJKAvtIN+0RiKPpOHoJL8tGO8G91M7UHadzODD1GSKMFdNuss/9g0yKMdP/KY19jCurVNgJ818797zujvxDHvoQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6r0U-0007xh-5z; Fri, 01 Nov 2024 08:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71519] [PATCH] gnu: Add ruby-prism. References: In-Reply-To: Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: gemmaro.dev@gmail.com, guix@cbaines.net, guix-patches@gnu.org Resent-Date: Fri, 01 Nov 2024 12:44:02 +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 , gemmaro , Christopher Baines X-Debbugs-Original-Xcc: gemmaro , Christopher Baines Received: via spool by 71519-submit@debbugs.gnu.org id=B71519.173046500830576 (code B ref 71519); Fri, 01 Nov 2024 12:44:02 +0000 Received: (at 71519) by debbugs.gnu.org; 1 Nov 2024 12:43:28 +0000 Received: from localhost ([127.0.0.1]:49255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6qzw-0007x4-6Q for submit@debbugs.gnu.org; Fri, 01 Nov 2024 08:43:28 -0400 Received: from mail-pj1-f53.google.com ([209.85.216.53]:56598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6qzt-0007wg-IQ for 71519@debbugs.gnu.org; Fri, 01 Nov 2024 08:43:26 -0400 Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-2e2bd347124so1520215a91.1 for <71519@debbugs.gnu.org>; Fri, 01 Nov 2024 05:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730464940; x=1731069740; 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=bZOZ/aoyjVL27JEtWqUc4bVbktGOtaMSECwY4EeQCNk=; b=E7aBBSqqir2oGOAN197j1+bqLK7kuBJLPDm/qQi6PscXVLkQgWy8QdEzVsnFWJSq2R lVPWBIAYSqOkxzqNond0/FIe1JdOaguA2ZKLeh1LFW6QxNe1ThtUCJbaGvxiV5FSD4Mw rrFJZr/xJrJBc6V0e+u2ZOOTPvMDI0z4E/GodmcFV01O+wEDNYj1l1rIBoAg5mRR05vc rvmvSuS9vKMeSWdM6fi55BY9O4WK89qkUSCwwJkh6Gz3m2PUc/MvJqn0zefDowk4OqRF 8R57syKO1TzoU+SXMZ9pY+g85FVxZ1egLagCPvO4bBKdb00SOW4I5W6x5P8tByaosxs9 8crQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730464940; x=1731069740; 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=bZOZ/aoyjVL27JEtWqUc4bVbktGOtaMSECwY4EeQCNk=; b=MDRARNyGpj/uowjBSaCqFxi+GJuSwcedBkQlF8yF2kDr/S7znc4TJhNaEReAqVfRRR eGZs/Qfbhwzi+q009w8VZ60SbtDeFlb8gqOpll4SYmW9Rix7wZtSeguSktuzfpkHUHCu 4M1cUMS/VASYid25yWtQSlH9het1qE78+TIBu2wQmfARtbzrkq3L3fpSYIDVJBx2BUaD Az1QzJusPczDijcw+DP7MAqrpvgoeSF1GgRs8rKlOslHyo46ILhlFspJ61ZvSy4KdnPH awawdUQcqMbUtX2wUH9y+DFny9Iue/r9j2TAYhz62kOy9Yr/8+COjWPAsAhG2h8lpukD lJ+w== X-Gm-Message-State: AOJu0YwYwFoYkT9nJaxTJElWCkmej+OOcKRNFVn3lmXYF61aclQdliSE WC77Y54g/+3lkFLqe0SxlPx6awo9VmTsmWPPauGmMEPXF+7Pm4r7ZxS3KfGO X-Google-Smtp-Source: AGHT+IHAQBUwSxIrR2yK4FYq4Q4elMQ0FfhKzJ0csOOkgciUq0RpRN2tZEkRvzPyLfS8agvqYIM40w== X-Received: by 2002:a17:90a:d807:b0:2e2:ac13:6f7 with SMTP id 98e67ed59e1d1-2e8f104f11cmr25276027a91.4.1730464939803; Fri, 01 Nov 2024 05:42:19 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e93da9841bsm2562385a91.8.2024.11.01.05.42.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 05:42:19 -0700 (PDT) From: gemmaro Date: Fri, 1 Nov 2024 21:42:05 +0900 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.52 X-Spam-Score: 0.52 X-Migadu-Queue-Id: 87E79189E8 X-Migadu-Scanner: mx12.migadu.com X-TUID: JR9DCJKeIr6Y * gnu/packages/ruby.scm (ruby-prism): New variable. Change-Id: I612191bec56f086507d91dcb93d6779f5db61c09 --- This updates to 1.2.0. gnu/packages/ruby.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 5af1bb1cef..2f38007c3b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -6987,6 +6987,41 @@ (define-public ruby-parser (home-page "https://github.com/whitequark/parser") (license license:expat))) +(define-public ruby-prism + (package + (name "ruby-prism") + (version "1.2.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 "1h9hsykhkr5hnh04akhv5zkfc7pgq5cpzfvkpfwdhkkmc6jai1lm")) + (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-set (package (name "ruby-set") base-commit: a007045b7c6d26a8a051356c51481beaed6a2bfd -- 2.46.0