unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon South <simon@simonsouth.net>
To: 54260@debbugs.gnu.org
Subject: [bug#54260] [PATCH v3 2/2] gnu: ucsim: Update to 0.7.1.
Date: Tue,  8 Mar 2022 10:52:09 -0500	[thread overview]
Message-ID: <ec65af58cf2ea8cc2a712476b33dba8f26e18c79.1646754416.git.simon@simonsouth.net> (raw)
In-Reply-To: <cover.1646754416.git.simon@simonsouth.net>

* gnu/packages/embedded.scm (ucsim): Update to 0.7.1.
[source]: Update URI.
[arguments]<#:configure-flags>: Remove as all stable ports are now built by
default.
<#:phases>: Remove obsolete "remove-empty-directory" phase.
[inputs]: Add ncurses, needed for the serialview utility.
[native-inputs]: Add sdcc when needed for tests.
[description]: Update to mention newly supported microcontroller families.
---
 gnu/packages/embedded.scm | 35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 7b219203be..f3d5e8fced 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -56,6 +56,7 @@ (define-module (gnu packages embedded)
   #:use-module (gnu packages libftdi)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages messaging)
+  #:use-module (gnu packages ncurses)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
@@ -1486,39 +1487,39 @@ (define-public ebusd
 (define-public ucsim
   (package
     (name "ucsim")
-    (version "0.6-pre68")
+    (version "0.7.1")
     (source (origin
               (method url-fetch)
               (uri (string-append
                     "http://mazsola.iit.uni-miskolc.hu/ucsim/download/unix/"
-                    "devel/ucsim-" version ".tar.gz"))
+                    "source/v" (version-major+minor version) ".x/"
+                    "ucsim-" version ".tar.gz"))
               (sha256
                (base32
-                "1bfj21f5pcfcg1xqqynlcfr8mn6qj5705cgc2lfr2s3n97qsd9df"))))
+                "080471wvkjdzxz5j3zdaq1apjcj84ql50kn26b7p4ansixnimml4"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:configure-flags '("--enable-avr-port"
-                           "--enable-m6809-port"
-                           "--enable-p1516-port"
-                           "--enable-st7-port")
-       #:phases
+     `(#:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-makefiles
            (lambda _
              (substitute* (find-files "." "(\\.mk$|\\.in$)")
-               (("/bin/sh") (which "sh")))))
-         (add-after 'install 'remove-empty-directory
-           (lambda* (#:key outputs #:allow-other-keys)
-             (delete-file-recursively
-              (string-append (assoc-ref outputs "out") "/share/man")))))))
+               (("/bin/sh") (which "sh"))))))))
+    (inputs
+     (list ncurses))
     (native-inputs
-     (list bison flex))
+     (append (list bison flex)
+             ;; Certain tests use assemblers provided by SDCC.
+             (if (not (%current-target-system))
+                 (list sdcc)
+                 '())))
     (home-page "http://mazsola.iit.uni-miskolc.hu/ucsim/")
     (synopsis "Simulators for various microcontroller families")
     (description "μCsim is a collection of software simulators for
-microcontrollers in the Atmel AVR; Intel MCS-51 (8051); Motorola 68HC08 and
-6809; P1516; Padauk PDK13, PDK14 and PDK15; STMicroelectronics ST7 and STM8;
-and Zilog Z80 families, plus many of their variants.")
+microcontrollers in the Atmel AVR; Intel MCS-51 (8051); MOS Technology 6502;
+Motorola 6800, 68HC08 and 6809; P1516; Padauk PDK13, PDK14 and PDK15;
+STMicroelectronics ST7 and STM8; Xilinx PicoBlaze; and Zilog Z80 families,
+plus many of their variants.")
     (license license:gpl2+)))
 
 (define-public sdcc
-- 
2.34.0





  parent reply	other threads:[~2022-03-08 15:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-05 12:56 [bug#54260] [PATCH 0/3] gnu: ucsim: Update to 0.7.1 Simon South
2022-03-05 12:58 ` [bug#54260] [PATCH 1/3] gnu: ucsim: Don't run tests when cross-compiling Simon South
2022-03-05 15:21   ` Maxime Devos
2022-03-05 12:59 ` [bug#54260] [PATCH 2/3] gnu: ucsim: Don't explicitly return #t from phases Simon South
2022-03-05 15:23   ` Maxime Devos
2022-03-05 16:39     ` Simon South
2022-03-11 22:39       ` Maxime Devos
2022-03-05 12:59 ` [bug#54260] [PATCH 3/3] gnu: ucsim: Update to 0.7.1 Simon South
2022-03-08 14:12 ` [bug#54260] [PATCH v2 0/2] " Simon South
2022-03-08 14:12   ` [bug#54260] [PATCH v2 1/2] gnu: ucsim: Don't explicitly return #t from phases Simon South
2022-03-08 14:12   ` [bug#54260] [PATCH v2 2/2] gnu: ucsim: Update to 0.7.1 Simon South
2022-03-08 15:52 ` [bug#54260] [PATCH v3 0/2] " Simon South
2022-03-08 15:52   ` [bug#54260] [PATCH v3 1/2] gnu: ucsim: Don't explicitly return #t from phases Simon South
2022-03-08 15:52   ` Simon South [this message]
2022-03-11 22:17   ` bug#54260: [PATCH 0/3] gnu: ucsim: Update to 0.7.1 Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ec65af58cf2ea8cc2a712476b33dba8f26e18c79.1646754416.git.simon@simonsouth.net \
    --to=simon@simonsouth.net \
    --cc=54260@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).