mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: flint: Rewrite using the modify-phases syntax.
* gnu/packages/algebra.scm (flint)[arguments]: Rewrite the phases using the modify-phases syntax.
This commit is contained in:
parent
c2099a4c82
commit
91430de6df
1 changed files with 18 additions and 19 deletions
|
@ -203,8 +203,8 @@ (define-public flint
|
||||||
("mpfr" ,mpfr))) ; header files from both are included by flint/arith.h
|
("mpfr" ,mpfr))) ; header files from both are included by flint/arith.h
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(alist-replace
|
(modify-phases %standard-phases
|
||||||
'configure
|
(replace 'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(gmp (assoc-ref inputs "gmp"))
|
(gmp (assoc-ref inputs "gmp"))
|
||||||
|
@ -220,8 +220,7 @@ (define-public flint
|
||||||
"./configure"
|
"./configure"
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
(string-append "--with-gmp=" gmp)
|
(string-append "--with-gmp=" gmp)
|
||||||
(string-append "--with-mpfr=" mpfr)))))
|
(string-append "--with-mpfr=" mpfr)))))))))
|
||||||
%standard-phases)))
|
|
||||||
(synopsis "Fast library for number theory")
|
(synopsis "Fast library for number theory")
|
||||||
(description
|
(description
|
||||||
"FLINT is a C library for number theory. It supports arithmetic
|
"FLINT is a C library for number theory. It supports arithmetic
|
||||||
|
|
Loading…
Reference in a new issue