guix-commits
[Top][All Lists]
Advanced

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

01/68: gnu: Add flex-2.6.1.


From: David Craven
Subject: 01/68: gnu: Add flex-2.6.1.
Date: Sat, 29 Oct 2016 21:52:21 +0000 (UTC)

dvc pushed a commit to branch master
in repository guix.

commit b68bf48af9eaceb3ab672745960e97881f40b6c1
Author: David Craven <address@hidden>
Date:   Sat Oct 29 18:39:58 2016 +0200

    gnu: Add flex-2.6.1.
    
    * gnu/packages/flex.scm (flex-2.6.1): New variable.
---
 gnu/packages/flex.scm |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm
index 20aff19..c0c7fa9 100644
--- a/gnu/packages/flex.scm
+++ b/gnu/packages/flex.scm
@@ -78,3 +78,22 @@ regular expressions for each rule.  Whenever it finds a 
match, it
 executes the corresponding C code.")
     (license (non-copyleft "file://COPYING"
                         "See COPYING in the distribution."))))
+
+(define-public flex-2.6.1
+  ;; The kservice and solid packages use flex.  extra-cmake-modules
+  ;; forces C89 for all C files for compatibility with windows.
+  ;; Flex 2.6.0 generates a lexer containing a single line comment.  Single
+  ;; line comments are part of the C99 standard, so the lexer won't compile
+  ;; if C89 is used.
+  (package
+    (inherit flex)
+    (version "2.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/westes/flex";
+                    "/releases/download/v" version "/"
+                    "flex-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0fy14c35yz2m1n1m4f02by3501fn0cca37zn7jp8lpp4b3kgjhrw"))))))



reply via email to

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