guix-commits
[Top][All Lists]
Advanced

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

08/13: gnu: mpfi: Use gexps and remove input labels.


From: guix-commits
Subject: 08/13: gnu: mpfi: Use gexps and remove input labels.
Date: Mon, 3 Oct 2022 11:19:18 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit a001be9664e91ec2d12750c95b10a77316263186
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Oct 2 21:01:59 2022 -0400

    gnu: mpfi: Use gexps and remove input labels.
    
    * gnu/packages/multiprecision.scm (mpfi) [source]: Re-indentation.
    [configure-flags]: Use gexps.
    [native-inputs]: Remove labels.
---
 gnu/packages/multiprecision.scm | 31 ++++++++++++++-----------------
 1 file changed, 14 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm
index 6c0d163a10..956d45bc1d 100644
--- a/gnu/packages/multiprecision.scm
+++ b/gnu/packages/multiprecision.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2018, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31,8 +32,9 @@
   #:use-module (gnu packages m4)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages texinfo)
-  #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix gexp)
+  #:use-module (guix packages)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu))
 
@@ -159,25 +161,20 @@ precision and correctly rounds the results.")
   (package
     (name "mpfi")
     (version "1.5.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "https://gforge.inria.fr/frs/download.php";
-                           "/latestfile/181/mpfi-" version ".tgz"))
-       (sha256
-        (base32 "0mismr1ll3wp788dq2n22s5irm0dziy75byyfdwz22kjbmckhf9v"))))
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://gforge.inria.fr/frs/download.php";
+                                  "/latestfile/181/mpfi-" version ".tgz"))
+              (sha256
+               (base32
+                "0mismr1ll3wp788dq2n22s5irm0dziy75byyfdwz22kjbmckhf9v"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f                      ;tests are broken in this release
-       #:configure-flags '("--enable-static=no")))
-    (native-inputs
-     `(("automake" ,automake)
-       ("autoreconf" ,autoconf)
-       ("libtool" ,libtool)
-       ("texinfo" ,texinfo)))
+     (list #:tests? #f                  ;tests are broken in this release
+           #:configure-flags #~(list "--enable-static=no")))
+    (native-inputs (list automake autoconf libtool texinfo))
     (propagated-inputs
-     (list gmp ; <mpfi.h> refers to both
-           mpfr))
+     (list gmp mpfr))                   ;<mpfi.h> refers to both
     (home-page "https://gforge.inria.fr/projects/mpfi/";)
     (synopsis "C library for arbitrary-precision interval arithmetic")
     (description



reply via email to

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