me
/
guix
Archived
1
0
Fork 0

gnu: armips: Update to 0.11.0-1-6719ede.

* gnu/packages/assembly.scm (armips): Update to 0.11.0-1-6719ede.
[source]: Add snippet to fix “Core/Types.h”.
[arguments]<#:configure-flags>: Add “-DARMIPS_USE_STD_FILESYSTEM=ON”.
master
Liliana Marie Prikler 2023-04-29 23:43:43 +02:00
parent 3e46970eab
commit b2b0179ec7
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 40 additions and 29 deletions

View File

@ -37,6 +37,7 @@
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages admin) #:use-module (gnu packages admin)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
@ -420,38 +421,48 @@ as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...),
(license license:gpl2))) (license license:gpl2)))
(define-public armips (define-public armips
(package (let ((commit "6719edebaae03330ee5441d9b28280672edf00d5")
(name "armips") (revision "1"))
(version "0.11.0") (package
(source (name "armips")
(origin (version "0.11.0")
(method git-fetch) (source
(uri (git-reference (origin
(url "https://github.com/Kingcom/armips") (method git-fetch)
(commit (string-append "v" version)))) (uri (git-reference
(file-name (git-file-name name version)) (url "https://github.com/Kingcom/armips")
(sha256 (commit commit)))
(base32 "1c4dhjkvynqn9xm2vcvwzymk7yg8h25alnawkz4z1dnn1z1k3r9g")))) (file-name (git-file-name name version))
(build-system cmake-build-system) (sha256
(arguments (base32 "1a85h2b3r3hy9hm07v8drvkklp4qfdq3i3zwb3cgk011s0njdfvz"))
`(#:phases (modules '((guix build utils)))
(modify-phases %standard-phases (snippet
(replace 'check #~(begin
(lambda* (#:key inputs #:allow-other-keys) (substitute* "Core/Types.h"
(invoke "./armipstests" "../source/Tests"))) (("#include <string>" all)
(replace 'install (string-append all "\n"
(lambda* (#:key outputs #:allow-other-keys) "#include <string_view>")))))))
(install-file "armips" (string-append (assoc-ref outputs "out") (build-system cmake-build-system)
"/bin")) (arguments
#t))))) `(#:configure-flags '("-DARMIPS_USE_STD_FILESYSTEM=ON")
(home-page "https://github.com/Kingcom/armips") #:phases
(synopsis "Assembler for various ARM and MIPS platforms") (modify-phases %standard-phases
(description (replace 'check
"armips is an assembler with full support for the MIPS R3000, MIPS R4000, (lambda* (#:key inputs #:allow-other-keys)
(invoke "./armipstests" "../source/Tests")))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(install-file "armips" (string-append (assoc-ref outputs "out")
"/bin"))
#t)))))
(home-page "https://github.com/Kingcom/armips")
(synopsis "Assembler for various ARM and MIPS platforms")
(description
"armips is an assembler with full support for the MIPS R3000, MIPS R4000,
Allegrex and RSP instruction sets, partial support for the EmotionEngine Allegrex and RSP instruction sets, partial support for the EmotionEngine
instruction set, as well as complete support for the ARM7 and ARM9 instruction instruction set, as well as complete support for the ARM7 and ARM9 instruction
sets, both THUMB and ARM mode.") sets, both THUMB and ARM mode.")
(license license:expat))) (license license:expat))))
(define-public intel-xed (define-public intel-xed
(package (package