From 81fdd4c35fc87fb9cbde04c8cd1e12a4fa77bb0b Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Tue, 2 Jan 2018 07:05:22 +0100 Subject: [PATCH] guix: back to 0.80.41 for tinycc. guix.scm (nyacc): New variable. --- guix.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/guix.scm b/guix.scm index e9e42e0e..7815541c 100644 --- a/guix.scm +++ b/guix.scm @@ -1,7 +1,7 @@ ;;; guix.scm -- Guix package definition ;;; Mes --- Maxwell Equations of Software -;;; Copyright © 2016,2017 Jan Nieuwenhuizen +;;; Copyright © 2016,2017,2018 Jan Nieuwenhuizen ;;; Also borrowing code from: ;;; guile-sdl2 --- FFI bindings for SDL2 @@ -104,6 +104,30 @@ extensive examples, including parsers for the Javascript and C99 languages.") (home-page "https://savannah.nongnu.org/projects/nyacc") (license (list gpl3+ lgpl3+)))) +(define-public nyacc + (package + (name "nyacc") + (version "0.80.41") + (source (origin + (method url-fetch) + (uri (string-append "https://gitlab.com/janneke/nyacc" + "/repository/archive.tar.gz?ref=v" + version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0x0qff81s3yb30b72j94rj7pnsjafgfp8hkyscymg5438g184gwa")))) + (build-system gnu-build-system) + (native-inputs + `(("guile" ,guile-2.2))) + (synopsis "LALR(1) Parser Generator in Guile") + (description + "NYACC is an LALR(1) parser generator implemented in Guile. +The syntax and nomenclature should be considered not stable. It comes with +extensive examples, including parsers for the Javascript and C99 languages.") + (home-page "https://savannah.nongnu.org/projects/nyacc") + (license (list gpl3+ lgpl3+)))) + (define-public mescc-tools (package (name "mescc-tools")