~ruther/guix-local

ed3f818b15d88f75e57db1fd107d8b5c995ceef5 — Efraim Flashner 2 years ago a0221c3
gnu: alfa: Reuse 'check phase.

* gnu/packages/astronomy.scm (alfa)[arguments]: Set test-target. Replace
custom 'post-install-check phase with the standard 'check phase.

Change-Id: Ic5f77ac3a3a6ef62ce36ad5fa8892db6d0894d04
1 files changed, 2 insertions(+), 3 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +2 -3
@@ 130,13 130,12 @@
           #:tests? (not (or (%current-target-system)
                             ;; The test suite consumes all disk space
                             (target-riscv64?)))
           #:test-target "fittest"
           #:phases #~(modify-phases %standard-phases
                        (delete 'configure)
                        (delete 'check)
                        (add-after 'install 'post-install-check
                          (lambda* (#:key tests? #:allow-other-keys)
                            (when tests?
                              (invoke "make" "fittest")))))))
                          (assoc-ref %standard-phases 'check)))))
    (inputs (list cfitsio gfortran))
    (home-page "https://nebulousresearch.org/codes/alfa/")
    (synopsis "Automated line fitting algorithm")