summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-06-28 16:56:49 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-06-28 16:56:49 -0400
commit439d47cdb1ed6bc29a9222a96ebe13f908d2e726 (patch)
tree0c2e0e937398bfce6492f38c62873b349ac1b7fd /gnu/packages/ruby.scm
parent1157d2f82c62a60cc180bd727aebc98a2f4a9f09 (diff)
gnu: Add ruby-kpeg.
* gnu/packages/ruby.scm (ruby-kpeg): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 2537a26a96..d636561a2e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8446,6 +8446,29 @@ your application.")
(base32
"1h39zqqxp3k4qk49ajpx0jps1vmvxgkh43mqkb6znk583bl0fv71"))))))
+(define-public ruby-kpeg
+ (package
+ (name "ruby-kpeg")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "kpeg" version))
+ (sha256
+ (base32
+ "0x2kpfrcagj931masm5y1kwbnc6nxl60cqdcd3lyd1d2hz7kzlia"))))
+ (build-system ruby-build-system)
+ (native-inputs
+ `(("ruby-hoe" ,ruby-hoe)))
+ (synopsis "PEG library for Ruby")
+ (description "KPeg is a simple PEG library for Ruby. It provides an API as
+well as native grammar to build the grammar. KPeg supports direct left
+recursion of rules via the
+@uref{http://www.vpri.org/pdf/tr2008003_experimenting.pdf,OMeta memoization}
+technique.")
+ (home-page "https://github.com/evanphx/kpeg")
+ (license license:expat)))
+
(define-public ruby-rdoc
(package
(name "ruby-rdoc")