gnu: ucsim: Update to 0.7.1.
* 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. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									a05fb56c6e
								
							
						
					
					
						commit
						d41c82b481
					
				
					 1 changed files with 18 additions and 17 deletions
				
			
		| 
						 | 
					@ -56,6 +56,7 @@
 | 
				
			||||||
  #:use-module (gnu packages libftdi)
 | 
					  #:use-module (gnu packages libftdi)
 | 
				
			||||||
  #:use-module (gnu packages libusb)
 | 
					  #:use-module (gnu packages libusb)
 | 
				
			||||||
  #:use-module (gnu packages messaging)
 | 
					  #:use-module (gnu packages messaging)
 | 
				
			||||||
 | 
					  #:use-module (gnu packages ncurses)
 | 
				
			||||||
  #:use-module (gnu packages perl)
 | 
					  #:use-module (gnu packages perl)
 | 
				
			||||||
  #:use-module (gnu packages pkg-config)
 | 
					  #:use-module (gnu packages pkg-config)
 | 
				
			||||||
  #:use-module (gnu packages python)
 | 
					  #:use-module (gnu packages python)
 | 
				
			||||||
| 
						 | 
					@ -1487,39 +1488,39 @@ handling communication with eBUS devices connected to a 2-wire bus system
 | 
				
			||||||
(define-public ucsim
 | 
					(define-public ucsim
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "ucsim")
 | 
					    (name "ucsim")
 | 
				
			||||||
    (version "0.6-pre68")
 | 
					    (version "0.7.1")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append
 | 
					              (uri (string-append
 | 
				
			||||||
                    "http://mazsola.iit.uni-miskolc.hu/ucsim/download/unix/"
 | 
					                    "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
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "1bfj21f5pcfcg1xqqynlcfr8mn6qj5705cgc2lfr2s3n97qsd9df"))))
 | 
					                "080471wvkjdzxz5j3zdaq1apjcj84ql50kn26b7p4ansixnimml4"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:configure-flags '("--enable-avr-port"
 | 
					     `(#:phases
 | 
				
			||||||
                           "--enable-m6809-port"
 | 
					 | 
				
			||||||
                           "--enable-p1516-port"
 | 
					 | 
				
			||||||
                           "--enable-st7-port")
 | 
					 | 
				
			||||||
       #:phases
 | 
					 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (add-after 'unpack 'patch-makefiles
 | 
					         (add-after 'unpack 'patch-makefiles
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (substitute* (find-files "." "(\\.mk$|\\.in$)")
 | 
					             (substitute* (find-files "." "(\\.mk$|\\.in$)")
 | 
				
			||||||
               (("/bin/sh") (which "sh")))))
 | 
					               (("/bin/sh") (which "sh"))))))))
 | 
				
			||||||
         (add-after 'install 'remove-empty-directory
 | 
					    (inputs
 | 
				
			||||||
           (lambda* (#:key outputs #:allow-other-keys)
 | 
					     (list ncurses))
 | 
				
			||||||
             (delete-file-recursively
 | 
					 | 
				
			||||||
              (string-append (assoc-ref outputs "out") "/share/man")))))))
 | 
					 | 
				
			||||||
    (native-inputs
 | 
					    (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/")
 | 
					    (home-page "http://mazsola.iit.uni-miskolc.hu/ucsim/")
 | 
				
			||||||
    (synopsis "Simulators for various microcontroller families")
 | 
					    (synopsis "Simulators for various microcontroller families")
 | 
				
			||||||
    (description "μCsim is a collection of software simulators for
 | 
					    (description "μCsim is a collection of software simulators for
 | 
				
			||||||
microcontrollers in the Atmel AVR; Intel MCS-51 (8051); Motorola 68HC08 and
 | 
					microcontrollers in the Atmel AVR; Intel MCS-51 (8051); MOS Technology 6502;
 | 
				
			||||||
6809; P1516; Padauk PDK13, PDK14 and PDK15; STMicroelectronics ST7 and STM8;
 | 
					Motorola 6800, 68HC08 and 6809; P1516; Padauk PDK13, PDK14 and PDK15;
 | 
				
			||||||
and Zilog Z80 families, plus many of their variants.")
 | 
					STMicroelectronics ST7 and STM8; Xilinx PicoBlaze; and Zilog Z80 families,
 | 
				
			||||||
 | 
					plus many of their variants.")
 | 
				
			||||||
    (license license:gpl2+)))
 | 
					    (license license:gpl2+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public sdcc
 | 
					(define-public sdcc
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue