diff options
| author | Felix Gruber <felgru@posteo.net> | 2022-05-18 17:31:18 +0000 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-29 23:56:05 +0200 |
| commit | 3d1b2bc740b880c474ee3b178d078a7222315c74 (patch) | |
| tree | 353710559bf1f0a30fc31ba02e23fbbe5706f335 /gnu/packages/assembly.scm | |
| parent | 40530ffd15ece6ec610a43221293010fe3b9234b (diff) | |
gnu: wla-dx: Update to 10.1.
* gnu/packages/assembly.scm (wla-dx): Update to 10.1.
[native-inputs]: Use new style.
[arguments]: Add custom 'check phase to run run_tests.sh.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/assembly.scm')
| -rw-r--r-- | gnu/packages/assembly.scm | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm index b2830716e10..ca50b00a06d 100644 --- a/gnu/packages/assembly.scm +++ b/gnu/packages/assembly.scm | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | ;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com> | 11 | ;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com> |
| 12 | ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> | 12 | ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> |
| 13 | ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> | 13 | ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> |
| 14 | ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net> | ||
| 14 | ;;; | 15 | ;;; |
| 15 | ;;; This file is part of GNU Guix. | 16 | ;;; This file is part of GNU Guix. |
| 16 | ;;; | 17 | ;;; |
| @@ -342,7 +343,7 @@ package for the Game Boy and Game Boy Color. It consists of: | |||
| 342 | (define-public wla-dx | 343 | (define-public wla-dx |
| 343 | (package | 344 | (package |
| 344 | (name "wla-dx") | 345 | (name "wla-dx") |
| 345 | (version "9.12") | 346 | (version "10.1") |
| 346 | (source (origin | 347 | (source (origin |
| 347 | (method git-fetch) | 348 | (method git-fetch) |
| 348 | (uri (git-reference | 349 | (uri (git-reference |
| @@ -351,12 +352,20 @@ package for the Game Boy and Game Boy Color. It consists of: | |||
| 351 | (file-name (git-file-name name version)) | 352 | (file-name (git-file-name name version)) |
| 352 | (sha256 | 353 | (sha256 |
| 353 | (base32 | 354 | (base32 |
| 354 | "1wlbqv2rgk9q6m9an1mi0i29250zl8lw7zipki2bbi9mczpyczli")))) | 355 | "1nh2k2xn5fj389gq68f3fxgrxakgn8c6dw2ffqay86s3706hac9w")))) |
| 355 | (build-system cmake-build-system) | 356 | (build-system cmake-build-system) |
| 356 | (native-inputs | 357 | (native-inputs (list python-sphinx)) ; to generate man pages |
| 357 | `(("sphinx" ,python-sphinx))) ; to generate man pages | ||
| 358 | (arguments | 358 | (arguments |
| 359 | `(#:tests? #f)) ; no tests | 359 | `(#:phases |
| 360 | (modify-phases %standard-phases | ||
| 361 | (add-before 'check 'copy-tests-to-build-directory | ||
| 362 | (lambda _ | ||
| 363 | (copy-recursively "../source/tests" "tests"))) | ||
| 364 | (replace 'check | ||
| 365 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 366 | (let ((sh (which "sh"))) | ||
| 367 | (when tests? | ||
| 368 | (invoke sh "../source/run_tests.sh")))))))) | ||
| 360 | (home-page "https://github.com/vhelin/wla-dx") | 369 | (home-page "https://github.com/vhelin/wla-dx") |
| 361 | (synopsis "Assemblers for various processors") | 370 | (synopsis "Assemblers for various processors") |
| 362 | (description "WLA DX is a set of tools to assemble assembly files to | 371 | (description "WLA DX is a set of tools to assemble assembly files to |
