summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2023-11-08 12:06:58 +0100
committerJanneke Nieuwenhuizen <janneke@gnu.org>2023-11-11 07:34:57 +0100
commit552e15792b085d7eaba0a90bc0f178dcf44f2185 (patch)
treed00b1b1e0ba130b4a908af6478c4bd84538638c3 /gnu/packages
parent952d0951da3bc272ac6753631ddc1bd6ee38f03d (diff)
downloadguix-552e15792b085d7eaba0a90bc0f178dcf44f2185.tar.gz
gnu: mes: Update to 0.25.
* gnu/packages/mes.scm (mes): Update to 0.25.
[supported-systems]: Add aarch64-linux and riscv64-linux.
[native-inputs]: For aarch64-linux, use arm-linux-gnueabihf compiler.
Update to latest m2-planet (1.11.0).

Change-Id: I8c4c46b1a0e30cdb4545186dfa93625a400bac0f
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/mes.scm18
1 files changed, 12 insertions, 6 deletions
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index fa376c9ee8..97737bb3bd 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -154,15 +154,16 @@ parsers to allow execution with Guile as extension languages.")))
 (define-public mes
   (package
     (name "mes")
-    (version "0.24.2")
+    (version "0.25")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnu/mes/"
                                   "mes-" version ".tar.gz"))
               (sha256
                (base32
-                "0vp8v88zszh1imm3dvdfi3m8cywshdj7xcrsq4cgmss69s2y1nkx"))))
-    (supported-systems '("armhf-linux" "i686-linux" "x86_64-linux"))
+                "0h49h85m1jkppfsv95zdxdrrw1q1mwswhq81lwxj1nbyasrm0lij"))))
+    (supported-systems '("aarch64-linux" "armhf-linux" "i686-linux"
+                         "x86_64-linux" "riscv64-linux"))
     (propagated-inputs (list mescc-tools nyacc-1.00.2))
     (native-inputs
      (append (list guile-3.0)
@@ -174,10 +175,15 @@ parsers to allow execution with Guile as extension languages.")))
              ;; MesCC 64 bit .go files installed ready for use with Guile.
              (list (cross-binutils "i686-unknown-linux-gnu")
                    (cross-gcc "i686-unknown-linux-gnu")))
-            (else
-             '())))
+         ((string-prefix? "aarch64-linux" target-system)
+          ;; Use cross-compiler rather than #:system "armhf-linux" to get
+          ;; MesCC 64 bit .go files installed ready for use with Guile.
+          (let ((triplet "arm-linux-gnueabihf"))
+            (list (cross-binutils triplet) (cross-gcc triplet))))
+         (else
+          '())))
        (list graphviz help2man
-             m2-planet-1.9.0
+             m2-planet
              perl                               ;build-aux/gitlog-to-changelog
              texinfo)))
     (build-system gnu-build-system)