guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/11: gnu: Add ruby-oedipus-lex.


From: guix-commits
Subject: 01/11: gnu: Add ruby-oedipus-lex.
Date: Wed, 17 Feb 2021 09:17:24 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit f30382b42245a974c8e563b90da069c716f6b12d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 17 11:26:51 2021 +0200

    gnu: Add ruby-oedipus-lex.
    
    * gnu/packages/ruby.scm (ruby-oedipus-lex): New variable.
---
 gnu/packages/ruby.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 90f885a..e6992f3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5519,6 +5519,29 @@ projects.  It has very little overhead and can be easily 
integrated with
 development tools to catch coverage problems early.")
     (license license:expat)))
 
+(define-public ruby-oedipus-lex
+  (package
+    (name "ruby-oedipus-lex")
+    (version "2.5.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "oedipus_lex" version))
+        (sha256
+         (base32
+          "1v1rk78khwq87ar300lwll570zxpkq9rjnpgc9mgsyd6mm9qjz4w"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("ruby-hoe" ,ruby-hoe)))
+    (synopsis "Ruby lexer")
+    (description
+     "Oedipus Lex is a lexer generator in the same family as Rexical and Rex.
+It is based primarily on generating code much like you would a hand-written
+lexer.  It uses StrScanner within a multi-level case statement.  As such,
+Oedipus matches on the first match, not the longest.")
+      (home-page "https://github.com/seattlerb/oedipus_lex";)
+      (license license:expat)))
+
 (define-public ruby-guard
   (package
     (name "ruby-guard")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]