guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/28: gnu: imppg: Use standard configure phase.


From: guix-commits
Subject: 08/28: gnu: imppg: Use standard configure phase.
Date: Sun, 5 Nov 2023 13:16:29 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit e7b315216af2d77b62532d525ae5160cbfd2835c
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Oct 27 23:14:45 2023 +0100

    gnu: imppg: Use standard configure phase.
    
    * gnu/packages/astronomy.scm (imppg): Use G-expressions.
    [arguments]{phases}: Use 'configure standard phase instead of
    replacement.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/astronomy.scm | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index b755e94f0f..22d6db984b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3231,19 +3231,8 @@ It can be used to calculate the trajectory of 
satellites.")
         (base32 "0a6wb1a9adwd01dmy0r03xxp8iz9y7mvh30088ajilhj4lf90vxa"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:tests? #f                      ;no test provided
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'configure
-           (lambda* (#:key outputs #:allow-other-keys)
-             (mkdir-p "build")
-             (chdir "build")
-             (invoke
-              "cmake"
-              "-G" "Unix Makefiles"
-              "-DCMAKE_BUILD_TYPE=Release"
-              (string-append "-DCMAKE_INSTALL_PREFIX=" (assoc-ref outputs 
"out"))
-              ".."))))))
+     (list ;; No test provided
+      #:tests? #f))
     (native-inputs
      (list boost pkg-config))
     (inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]