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
This commit is contained in:
John Darrington 2014-08-26 20:09:06 +02:00
parent c23372131d
commit b1da9f82a8

View File

@ -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 grammar. It is versatile enough to have many applications, from parsers for
simple tools through complex programming languages.") simple tools through complex programming languages.")
(license gpl3+))) (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"))))))