aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/re2c.scm
blob: eb9daf4622ea51431c9d6afe185cef671432d8d4 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017, 2020 Sergei Trofimovich <slyfox@inbox.ru>
;;; Copyright © 2021 Sergei Trofimovich <slyich@gmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages re2c)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (gnu packages python)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public re2c
  (package
    (name "re2c")
    (version "2.2")
    (source (origin
             (method url-fetch)
             (uri (string-append "https://github.com/skvadrik/" name
                                 "/releases/download/" version "/"
                                 name "-" version ".tar.xz"))
             (sha256
              (base32
               "1nkbv3bxz1kwwql1pdlnj3lxy5h2vsaif393ivb5b9d8610mxi0g"))))
    (build-system gnu-build-system)
    (home-page "https://re2c.org/")
    (native-inputs
     (list python))             ; for the test driver
    (synopsis "Lexer generator for C/C++")
    (description
     "@code{re2c} generates minimalistic hard-coded state machine (as opposed
to full-featured table-based lexers).  Flexible API allows generated code
to be wired into virtually any environment.  Instead of exposing traditional
@code{yylex()} style API, re2c exposes its internals.  Be sure to take a look
at examples, they cover a lot of real-world cases and shed some light on dark
corners of re2c API.")
    (license public-domain)))
a>...This follows on from 2d9886f7e8838d6aeb0cfb20a2a49fc7d8fb233c. * gnu/packages/diffoscope.scm: Import (gnu packages maths). Christopher Baines 2020-04-16gnu: diffoscope: Update to 141....* gnu/packages/diffoscope (diffoscope): Update to 141. [arguments]: Add phase add-known-tools. [native-inputs]: Add hdf5. Vagrant Cascadian 2020-04-13gnu: diffoscope: Update to 139....* gnu/packages/diffoscope.scm (diffoscope): Update to 139. Tobias Geerinckx-Rice 2020-03-30gnu: reprotest: Update to 0.7.14....* gnu/packages/diffoscope (reprotest): Update to 0.7.14. * gnu/packages/patches/reprotest-support-guix.patch: Remove file. * gnu/local.mk [dist_patch_DATA]: Update accordingly. Vagrant Cascadian 2020-03-30gnu: diffoscope: Update to 138....* gnu/packages/diffoscope (diffoscope): Update to 138. Vagrant Cascadian 2020-02-23gnu: diffoscope: Update to 137....* gnu/packages/diffoscope.scm (diffoscope): Update to 137. Tobias Geerinckx-Rice 2020-02-07gnu: Add reprotest....Added to diffoscope, to avoid triggering #37346. * gnu/packages/diffoscope (reprotest): New variable. * gnu/packages/patches/reprotest-support-guix.patch: New file. * gnu/local.mk (dist_patch_DATA): Add patch. Vagrant Cascadian 2020-02-06gnu: diffoscope: Update description....* gnu/packages/diffoscope (diffoscope)[description]: Mention optional dependencies. Vagrant Cascadian 2020-02-01gnu: diffoscope: Update to 136....* gnu/packages/diffoscope (diffoscope): Update to 136. Vagrant Cascadian 2020-01-17gnu: diffoscope: Update to 135....* gnu/packages/diffoscope (diffoscope): Update to 135. Vagrant Cascadian 2019-12-29gnu: diffoscope: Update to 134....* gnu/packages/diffoscope (diffoscope): Update to 134. [arguments] Remove phase adding support for zstd. Vagrant Cascadian 2019-12-15gnu: diffoscope: Add support for zstd compression....* gnu/packages/diffoscope (diffoscope)[native-inputs]: Add zstd. [arguments]: Add add-known-tools phase with support for zstd. Vagrant Cascadian 2019-12-15gnu: diffoscope: Update to 133....* gnu/packages/diffoscope (diffoscope): Update to 133. Vagrant Cascadian 2019-11-23gnu: diffoscope: Update to 131....* gnu/packages/diffoscope (diffoscope): Update to 131. Vagrant Cascadian 2019-10-29gnu: diffoscope: Add additional native-inputs for tests....* gnu/packages/diffoscope (diffoscope)[native-inputs]: Add python-pypdf2 and python-progressbar33. Vagrant Cascadian 2019-10-28gnu: diffoscope: Update to 129....* gnu/packages/diffoscope (diffoscope): Update to 129. Vagrant Cascadian 2019-10-16gnu: diffoscope: Update to 126....* gnu/packages/diffoscope (diffoscope): Update to 126. [arguments]: Remove add-known-tools phase, merged upstream. Vagrant Cascadian 2019-09-21gnu: diffoscope: Adjust native-inputs for architecture limitations....* gnu/packages/diffoscope (diffoscope)[native-inputs]: Only add ghc on x86_64-linux and i686-linux. Only add openjdk and enjarify on x86_64-linux. Vagrant Cascadian 2019-09-19gnu: Add enjarify....* gnu/packages/android (enjarify): New variable. * gnu/packages/diffoscope (diffoscope)[native-inputs]: Add enjarify. [arguments]: add enjarify to add-known-tools phase. * gnu/packages/patches/enjarify-setup-py.patch: New file. * gnu/local.mk: Add enjarify-setup-py.patch. Vagrant Cascadian 2019-09-19gnu: Add python-jsbeautifier....* gnu/packages/python-xyz (python-jsbeautifier): New variable. * gnu/packages/diffoscope (diffoscope)[native-arguments]: Add python-jsbeautifier. [arguments]: Add python-jsbeautifier to add-known-tools phase. Vagrant Cascadian 2019-09-19gnu: Add wabt....* gnu/packages/web (wabt): New variable. * gnu/packages/diffoscope (diffoscope)[native-inputs]: Add wabt for tests. [arguments]: Add phase patching wabt into known tools. Vagrant Cascadian 2019-09-19gnu: Add python-binwalk....* gnu/packages/python-xyz (python-binwalk): New variable. * gnu/packages/diffoscope (diffoscope)[native-inputs]: Add python-binwalk for tests. Vagrant Cascadian 2019-09-18gnu: diffoscope: Update to 125....* gnu/packages/diffoscope (diffoscope): Update to 125. [arguments] Adjust remove-ocaml-test to selectively disable a single test. Add skip-elf-tests to disable a new failing test. [native-inputs] Add ocaml for tests. Vagrant Cascadian 2019-09-18gnu: diffoscope: Add additional test dependencies....* gnu/packages/diffoscope (diffoscope)[native-inputs]: Add abootimg, dtc, and r-minimal. Vagrant Cascadian 2019-09-18gnu: Move diffoscope and trydiffoscope to new diffoscope.scm....* gnu/packages/package-management (diffoscope): Remove variable. (trydiffoscope): Remove variable. Update copyright information. * gnu/packages/diffoscope.scm: New file. (diffoscope): Add variable. (trydiffoscope): Add variable. * gnu/local.mk [GNU_SYSTEM_MODULES]: Add diffoscope.scm. Vagrant Cascadian