Commit | Line | Data |
---|---|---|
233e7676 | 1 | ;;; GNU Guix --- Functional package management for GNU |
55f03366 | 2 | ;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org> |
cf153fc4 | 3 | ;;; |
233e7676 | 4 | ;;; This file is part of GNU Guix. |
cf153fc4 | 5 | ;;; |
233e7676 | 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
cf153fc4 LC |
7 | ;;; under the terms of the GNU General Public License as published by |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
233e7676 | 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
cf153fc4 LC |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
233e7676 | 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
cf153fc4 | 18 | |
1ffa7090 | 19 | (define-module (gnu packages bison) |
4a44e743 | 20 | #:use-module (guix licenses) |
cf153fc4 LC |
21 | #:use-module (guix packages) |
22 | #:use-module (guix download) | |
23 | #:use-module (guix build-system gnu) | |
1ffa7090 | 24 | #:use-module (gnu packages m4) |
55f03366 LC |
25 | #:use-module (gnu packages perl) |
26 | #:use-module (gnu packages flex) | |
27 | #:use-module (srfi srfi-1) | |
28 | #:export (bison)) | |
cf153fc4 | 29 | |
55f03366 | 30 | (define bison |
cf153fc4 LC |
31 | (package |
32 | (name "bison") | |
77874f97 | 33 | (version "3.0.2") |
cf153fc4 LC |
34 | (source |
35 | (origin | |
36 | (method url-fetch) | |
37 | (uri (string-append "mirror://gnu/bison/bison-" | |
38 | version ".tar.xz")) | |
39 | (sha256 | |
40 | (base32 | |
77874f97 | 41 | "0g4gjan477lac18m51kv4xzcsp6wjfsfwvd2dxymcl6vid9fihx2")))) |
cf153fc4 | 42 | (build-system gnu-build-system) |
2aa76ee1 LC |
43 | (native-inputs `(("perl" ,perl))) |
44 | (inputs `(("flex" ,flex))) | |
cf153fc4 LC |
45 | (propagated-inputs `(("m4" ,m4))) |
46 | (home-page "http://www.gnu.org/software/bison/") | |
f50d2669 | 47 | (synopsis "Parser generator") |
cf153fc4 | 48 | (description |
79c311b8 LC |
49 | "GNU Bison is a general-purpose parser generator. It can build a |
50 | deterministic or generalized LR parser from an annotated, context-free | |
51 | grammar. It is versatile enough to have many applications, from parsers for | |
52 | simple tools through complex programming languages.") | |
4a44e743 | 53 | (license gpl3+))) |