guix: nyacc: Update to 1.03.0.

* guix/git/mes.scm (nyacc): Rename to...
(nyacc-0.99): ...this.
(nyacc): New variable.
(mes): Update to guile-3.0.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-10-06 13:51:42 +02:00
parent fe60f9a3f7
commit 70b2942286
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -1,5 +1,5 @@
;;; GNU Mes --- Maxwell Equations of Software ;;; GNU Mes --- Maxwell Equations of Software
;;; Copyright © 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2016,2017,2018,2019,2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; ;;;
;;; This file is part of GNU Mes. ;;; This file is part of GNU Mes.
;;; ;;;
@ -89,7 +89,7 @@ get_machine.")
(home-page "https://savannah.nongnu.org/projects/mescc-tools") (home-page "https://savannah.nongnu.org/projects/mescc-tools")
(license gpl3+))) (license gpl3+)))
(define-public nyacc (define-public nyacc-0.99
(package (package
(name "nyacc") (name "nyacc")
(version "0.99.0") (version "0.99.0")
@ -128,6 +128,20 @@ extensive examples, including parsers for the Javascript and C99 languages.")
(home-page "https://savannah.nongnu.org/projects/nyacc") (home-page "https://savannah.nongnu.org/projects/nyacc")
(license (list gpl3+ lgpl3+)))) (license (list gpl3+ lgpl3+))))
(define-public nyacc
(package
(inherit nyacc)
(version "1.03.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://savannah/nyacc/nyacc-"
version ".tar.gz"))
(sha256
(base32
"1vdiqpm3p0ndmpmkzcpkpjvgklfsk4wxrhkixdxbczpafdfl635p"))))
(inputs
`(("guile" ,guile-3.0)))))
(define-public mes (define-public mes
(package (package
(name "mes") (name "mes")
@ -142,9 +156,9 @@ extensive examples, including parsers for the Javascript and C99 languages.")
(supported-systems '("aarch64-linux" "armhf-linux" "i686-linux" "x86_64-linux")) (supported-systems '("aarch64-linux" "armhf-linux" "i686-linux" "x86_64-linux"))
(propagated-inputs (propagated-inputs
`(("mescc-tools" ,mescc-tools) `(("mescc-tools" ,mescc-tools)
("nyacc" ,nyacc))) ("nyacc" ,guile3-nyacc)))
(native-inputs (native-inputs
`(("guile" ,guile-2.2) `(("guile" ,guile-3.0)
,@(cond ((string-prefix? "x86_64-linux" (or (%current-target-system) ,@(cond ((string-prefix? "x86_64-linux" (or (%current-target-system)
(%current-system))) (%current-system)))
;; Use cross-compiler rather than #:system "i686-linux" to get ;; Use cross-compiler rather than #:system "i686-linux" to get