diff options
| author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-04-29 23:43:43 +0200 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-05-07 17:55:15 +0200 |
| commit | b2b0179ec71a8d2e6686878d873354c599e8c7be (patch) | |
| tree | a4c9a537821def2d43398526bf578083041452b6 | |
| parent | 3e46970eab1ca17c31ab50b30e4271defc0c5eab (diff) | |
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”.
| -rw-r--r-- | gnu/packages/assembly.scm | 69 |
1 files changed, 40 insertions, 29 deletions
diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm index ff8fe69e64f..03a868690c5 100644 --- a/gnu/packages/assembly.scm +++ b/gnu/packages/assembly.scm | |||
| @@ -37,6 +37,7 @@ | |||
| 37 | #:use-module (guix git-download) | 37 | #:use-module (guix git-download) |
| 38 | #:use-module ((guix licenses) #:prefix license:) | 38 | #:use-module ((guix licenses) #:prefix license:) |
| 39 | #:use-module (guix packages) | 39 | #:use-module (guix packages) |
| 40 | #:use-module (guix gexp) | ||
| 40 | #:use-module (gnu packages) | 41 | #:use-module (gnu packages) |
| 41 | #:use-module (gnu packages admin) | 42 | #:use-module (gnu packages admin) |
| 42 | #:use-module (gnu packages autotools) | 43 | #:use-module (gnu packages autotools) |
| @@ -420,38 +421,48 @@ as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...), | |||
| 420 | (license license:gpl2))) | 421 | (license license:gpl2))) |
| 421 | 422 | ||
| 422 | (define-public armips | 423 | (define-public armips |
| 423 | (package | 424 | (let ((commit "6719edebaae03330ee5441d9b28280672edf00d5") |
| 424 | (name "armips") | 425 | (revision "1")) |
| 425 | (version "0.11.0") | 426 | (package |
| 426 | (source | 427 | (name "armips") |
| 427 | (origin | 428 | (version "0.11.0") |
| 428 | (method git-fetch) | 429 | (source |
| 429 | (uri (git-reference | 430 | (origin |
| 430 | (url "https://github.com/Kingcom/armips") | 431 | (method git-fetch) |
| 431 | (commit (string-append "v" version)))) | 432 | (uri (git-reference |
| 432 | (file-name (git-file-name name version)) | 433 | (url "https://github.com/Kingcom/armips") |
| 433 | (sha256 | 434 | (commit commit))) |
| 434 | (base32 "1c4dhjkvynqn9xm2vcvwzymk7yg8h25alnawkz4z1dnn1z1k3r9g")))) | 435 | (file-name (git-file-name name version)) |
| 435 | (build-system cmake-build-system) | 436 | (sha256 |
| 436 | (arguments | 437 | (base32 "1a85h2b3r3hy9hm07v8drvkklp4qfdq3i3zwb3cgk011s0njdfvz")) |
| 437 | `(#:phases | 438 | (modules '((guix build utils))) |
| 438 | (modify-phases %standard-phases | 439 | (snippet |
| 439 | (replace 'check | 440 | #~(begin |
| 440 | (lambda* (#:key inputs #:allow-other-keys) | 441 | (substitute* "Core/Types.h" |
| 441 | (invoke "./armipstests" "../source/Tests"))) | 442 | (("#include <string>" all) |
| 442 | (replace 'install | 443 | (string-append all "\n" |
| 443 | (lambda* (#:key outputs #:allow-other-keys) | 444 | "#include <string_view>"))))))) |
| 444 | (install-file "armips" (string-append (assoc-ref outputs "out") | 445 | (build-system cmake-build-system) |
| 445 | "/bin")) | 446 | (arguments |
| 446 | #t))))) | 447 | `(#:configure-flags '("-DARMIPS_USE_STD_FILESYSTEM=ON") |
| 447 | (home-page "https://github.com/Kingcom/armips") | 448 | #:phases |
| 448 | (synopsis "Assembler for various ARM and MIPS platforms") | 449 | (modify-phases %standard-phases |
| 449 | (description | 450 | (replace 'check |
| 450 | "armips is an assembler with full support for the MIPS R3000, MIPS R4000, | 451 | (lambda* (#:key inputs #:allow-other-keys) |
| 452 | (invoke "./armipstests" "../source/Tests"))) | ||
| 453 | (replace 'install | ||
| 454 | (lambda* (#:key outputs #:allow-other-keys) | ||
| 455 | (install-file "armips" (string-append (assoc-ref outputs "out") | ||
| 456 | "/bin")) | ||
| 457 | #t))))) | ||
| 458 | (home-page "https://github.com/Kingcom/armips") | ||
| 459 | (synopsis "Assembler for various ARM and MIPS platforms") | ||
| 460 | (description | ||
| 461 | "armips is an assembler with full support for the MIPS R3000, MIPS R4000, | ||
| 451 | Allegrex and RSP instruction sets, partial support for the EmotionEngine | 462 | Allegrex and RSP instruction sets, partial support for the EmotionEngine |
| 452 | instruction set, as well as complete support for the ARM7 and ARM9 instruction | 463 | instruction set, as well as complete support for the ARM7 and ARM9 instruction |
| 453 | sets, both THUMB and ARM mode.") | 464 | sets, both THUMB and ARM mode.") |
| 454 | (license license:expat))) | 465 | (license license:expat)))) |
| 455 | 466 | ||
| 456 | (define-public intel-xed | 467 | (define-public intel-xed |
| 457 | (package | 468 | (package |
