GNU bug report logs -
#71519
[PATCH] gnu: Add ruby-prism.
Previous Next
To reply to this bug, email your comments to 71519 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix <at> cbaines.net, guix-patches <at> gnu.org
:
bug#71519
; Package
guix-patches
.
(Wed, 12 Jun 2024 13:14:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
gemmaro <gemmaro.dev <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix <at> cbaines.net, guix-patches <at> gnu.org
.
(Wed, 12 Jun 2024 13:14:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix <at> cbaines.net, guix-patches <at> gnu.org
:
bug#71519
; Package
guix-patches
.
(Thu, 27 Jun 2024 13:49:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 71519 <at> debbugs.gnu.org (full text, mbox):
* 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 <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>
@@ -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
Information forwarded
to
gemmaro.dev <at> gmail.com, guix <at> cbaines.net, guix-patches <at> gnu.org
:
bug#71519
; Package
guix-patches
.
(Fri, 01 Nov 2024 12:44:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 71519 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#71519
; Package
guix-patches
.
(Sun, 03 Nov 2024 21:08:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 71519 <at> debbugs.gnu.org (full text, mbox):
Hi gemmaro,
You probably don't need the modules part in the origin source in this
package.
Otherwise LGTM if QA is happy with it.
--
Best regards,
Nicolas Graves
Information forwarded
to
gemmaro.dev <at> gmail.com, ngraves <at> ngraves.fr, guix <at> cbaines.net, guix-patches <at> gnu.org
:
bug#71519
; Package
guix-patches
.
(Mon, 04 Nov 2024 06:56:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 71519 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ruby.scm (ruby-prism): New variable.
Change-Id: I9a471843c51fd7449fbfa88fbc18e58a05d4f686
---
This removes the modules part of the previous third patch (sorry that its
revision was missing).
gnu/packages/ruby.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 12c439b3a9..439f52ecbf 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6995,6 +6995,40 @@ (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"))))
+ (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: 547d97180471e90e404a948015f65431961aa273
--
2.46.0
This bug report was last modified 47 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.