[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/36: gnu: Add ruby-treetop.
From: |
guix-commits |
Subject: |
13/36: gnu: Add ruby-treetop. |
Date: |
Fri, 17 Jul 2020 23:24:41 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 1f183ca0b2eca997dff46a9cf94c302a972eb98c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jul 13 12:00:30 2020 -0400
gnu: Add ruby-treetop.
* gnu/packages/ruby.scm (ruby-treetop): New variable.
---
gnu/packages/ruby.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 15a26ef..2105b97 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1310,6 +1310,45 @@ loader for the file type associated with a filename
extension, and it augments
(home-page "https://github.com/cjheath/polyglot")
(license license:expat)))
+(define-public ruby-treetop
+ (package
+ (name "ruby-treetop")
+ (version "1.6.10")
+ (source
+ (origin
+ (method git-fetch) ;no test suite in distributed gem
+ (uri (git-reference
+ (url "https://github.com/cjheath/treetop.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1dmk94z6ivhrz5hsq68vl5vgydhkz89n394rha1ymddw3rymbfcv"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:test-target "spec"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'replace-git-ls-files
+ (lambda _
+ ;; TODO: Remove after the fix of using 'cut' to better mimic the
+ ;; git ls-files output is merged in ruby-build-system.
+ (substitute* "treetop.gemspec"
+ (("`git ls-files -z`")
+ "`find . -type f -print0 |sort -z|cut -zc3-`"))
+ #t)))))
+ (native-inputs
+ `(("ruby-activesupport" ,ruby-activesupport)
+ ("ruby-rr" ,ruby-rr)
+ ("ruby-rspec" ,ruby-rspec)))
+ (propagated-inputs
+ `(("ruby-polyglot" ,ruby-polyglot)))
+ (synopsis "Ruby-based parsing DSL based on parsing expression grammars")
+ (description "This package provides a Ruby-based Parsing Expression
+Grammar (PEG) parser generator Domain Specific Language (DSL).")
+ (home-page "https://github.com/cjheath/treetop")
+ (license license:expat)))
+
(define-public ruby-ast
(package
(name "ruby-ast")
- 06/36: gnu: ruby-prawn: Update to commit d980247be8a00e7c59cd4e5785e3aa98f9856db1., (continued)
- 06/36: gnu: ruby-prawn: Update to commit d980247be8a00e7c59cd4e5785e3aa98f9856db1., guix-commits, 2020/07/17
- 07/36: gnu: ruby-prawn-manual-builder: Use %prawn-project-licenses., guix-commits, 2020/07/17
- 08/36: gnu: Add ruby-prawn-icon., guix-commits, 2020/07/17
- 09/36: gnu: Add ruby-css-parser., guix-commits, 2020/07/17
- 11/36: gnu: Add ruby-prawn-templates., guix-commits, 2020/07/17
- 14/36: gnu: Add ruby-sorcerer., guix-commits, 2020/07/17
- 15/36: gnu: Add ruby-given-core., guix-commits, 2020/07/17
- 16/36: gnu: Add ruby-rspec-given., guix-commits, 2020/07/17
- 18/36: gnu: ruby-parser: Update to 2.7.1.4., guix-commits, 2020/07/17
- 10/36: gnu: Add ruby-prawn-svg., guix-commits, 2020/07/17
- 13/36: gnu: Add ruby-treetop.,
guix-commits <=
- 17/36: gnu: ruby-coveralls: Strip exact versions from gemspec file., guix-commits, 2020/07/17
- 20/36: gnu: Add ruby-rubocop-ast., guix-commits, 2020/07/17
- 22/36: gnu: Add ruby-character-set., guix-commits, 2020/07/17
- 23/36: gnu: Add ruby-range-compressor., guix-commits, 2020/07/17
- 24/36: gnu: Add ruby-regexp-property-values., guix-commits, 2020/07/17
- 25/36: gnu: Add ruby-regexp-parser., guix-commits, 2020/07/17
- 27/36: gnu: ruby-rubocop: Update to 0.88.0., guix-commits, 2020/07/17
- 28/36: gnu: Add ruby-rubocop-performance., guix-commits, 2020/07/17
- 29/36: gnu: Add ruby-gimme., guix-commits, 2020/07/17
- 30/36: gnu: Add ruby-standard., guix-commits, 2020/07/17