summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Darrington <jmd@gnu.org>2014-08-26 20:09:06 +0200
committerJohn Darrington <jmd@gnu.org>2014-08-28 18:56:13 +0200
commitb1da9f82a8100e2033fd95ed9e4138bda9c271f2 (patch)
tree9cbd588e375317a472ec4224122b3852564352bc /gnu
parentc23372131dd665791e08772ba29a609bcf6b9d80 (diff)
downloadguix-b1da9f82a8100e2033fd95ed9e4138bda9c271f2.tar.gz
gnu: Add bison-2.7
* gnu/packages/bison.scm (bison-2.7): New variable.
  Bison 3.x and 2.x are incompatible.  Some programs require 2.x
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bison.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/bison.scm b/gnu/packages/bison.scm
index 4067b23ad7..76aa88fe26 100644
--- a/gnu/packages/bison.scm
+++ b/gnu/packages/bison.scm
@@ -51,3 +51,16 @@ deterministic or generalized LR parser from an annotated, context-free
 grammar.  It is versatile enough to have many applications, from parsers for
 simple tools through complex programming languages.")
     (license gpl3+)))
+
+(define-public bison-2.7
+  (package (inherit bison)
+    (version "2.7")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://gnu/bison/bison-"
+                          version ".tar.xz"))
+      (sha256
+       (base32
+        "1zd77ilmpv5mi3kr55jrj6ncqlcnyhpianhrwzak2q28cv2cbn23"))))))
+