GNU bug report logs - #71519
[PATCH] gnu: Add ruby-prism.

Previous Next

Package: guix-patches;

Reported by: gemmaro <gemmaro.dev <at> gmail.com>

Date: Wed, 12 Jun 2024 13:14:01 UTC

Severity: normal

Tags: patch

Done: gemmaro <gemmaro.dev <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: gemmaro <gemmaro.dev <at> gmail.com>
Subject: bug#71519: closed (Re: [PATCH] gnu: Add ruby-prism.)
Date: Sat, 15 Mar 2025 10:26:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#71519: [PATCH] gnu: Add ruby-prism.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 71519 <at> debbugs.gnu.org.

-- 
71519: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71519
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: gemmaro <gemmaro.dev <at> gmail.com>
To: 71519-done <at> debbugs.gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>, Nicolas Graves <ngraves <at> ngraves.fr>
Subject: Re: [PATCH] gnu: Add ruby-prism.
Date: Sat, 15 Mar 2025 19:25:41 +0900
ruby-prism was introduced in commit
65856d6cec7b8463ca8457cf053a427f4dfba67f;
hence this issue is being closed.

[Message part 3 (message/rfc822, inline)]
From: gemmaro <gemmaro.dev <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>
Subject: [PATCH] gnu: Add ruby-prism.
Date: Wed, 12 Jun 2024 22:12:09 +0900
* 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 <remco <at> remworks.net>
 ;;; Copyright © 2022 Taiju HIGASHI <higashi <at> taiju.info>
 ;;; Copyright © 2023 Yovan Naumovski <yovan <at> gorski.stream>
-;;; Copyright © 2023 gemmaro <gemmaro.dev <at> gmail.com>
+;;; Copyright © 2023, 2024 gemmaro <gemmaro.dev <at> gmail.com>
 ;;; Copyright © 2023, 2024 Janneke Nieuwenhuizen <janneke <at> gnu.org>
 ;;; Copyright © 2023, 2024 Zheng Junjie <873216071 <at> qq.com>
 ;;; Copyright © 2023, 2024 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
@@ -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




This bug report was last modified 63 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.