guix_mirror_bot pushed a commit to branch master
in repository guix.

commit a2e09ef3892e3801b5296ad5562822b7c2e50846
Author: Anderson Torres <[email protected]>
AuthorDate: Thu Jun 4 18:43:57 2026 -0300

    gnu: Add reflex.
    
    * gnu/packages/compiler-tools.scm (reflex): New variable.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/compiler-tools.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/compiler-tools.scm b/gnu/packages/compiler-tools.scm
index 370830bd79..77193d7cf7 100644
--- a/gnu/packages/compiler-tools.scm
+++ b/gnu/packages/compiler-tools.scm
@@ -251,3 +251,31 @@ symbolic link to the @command{oyacc} command from the 
same-named package.")))
 Instead of using traditional table-driven approaches, it encodes a finite
 state machine directly in the code in the form of jumps and comparisons.")
     (license license:public-domain)))
+
+(define-public reflex
+  (package
+    (name "reflex")
+    (version "20260131")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://invisible-island.net/archives/reflex/reflex-";
+             version ".tgz"))
+       (sha256
+        (base32 "1ga82ycrfmfq6g3r8b8ixlhj82wnlwf9kibzhyivjfv26dgscldb"))
+       (snippet
+        #~(begin
+            (delete-file "configure")))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list autoconf
+           automake
+           ;; Works with any POSIX yacc, but let's use a non-self-hosted one.
+           oyacc-as-yacc-wrapper))
+    (home-page "https://invisible-island.net/reflex/reflex.html";)
+    (synopsis "Variant of flex lexical scanner")
+    (description
+     "Reflex is a POSIX-compatible variant of the @command{flex} lexical 
scanner
+generator.")
+    (license license:bsd-2)))

Reply via email to