me
/
guix
Archived
1
0
Fork 0

gnu: arb: Deprecate package.

* gnu/packages/algebra.scm (arb): Deprecate in favor of flint, of which
it is now a part.

Change-Id: I02ee2110e77c582b8daf70502f7092eba7c44547
master
Andreas Enge 2024-01-25 14:45:43 +01:00
parent ff9d8420cf
commit cdf1d7dded
No known key found for this signature in database
GPG Key ID: F7D5C9BF765C61E3
1 changed files with 1 additions and 41 deletions

View File

@ -449,47 +449,7 @@ fast arithmetic.")
'((release-monitoring-url . "http://flintlib.org/downloads.html"))))) '((release-monitoring-url . "http://flintlib.org/downloads.html")))))
(define-public arb (define-public arb
(package (deprecated-package "arb" flint))
(name "arb")
(version "2.23.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fredrik-johansson/arb")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1m9vskyf857gbm0cbh3z8c8m6cqkqa765wb9hqmsv7yzfmklzpvn"))))
(build-system gnu-build-system)
(propagated-inputs
(list flint)) ; flint.h is included by arf.h
(inputs
(list gmp mpfr))
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(flint (assoc-ref inputs "flint"))
(gmp (assoc-ref inputs "gmp"))
(mpfr (assoc-ref inputs "mpfr")))
;; Do not pass "--enable-fast-install", which makes the
;; homebrew configure process fail.
(invoke "./configure"
(string-append "--prefix=" out)
(string-append "--with-flint=" flint)
(string-append "--with-gmp=" gmp)
(string-append "--with-mpfr=" mpfr))))))))
(home-page "https://arblib.org")
(synopsis "Arbitrary precision floating-point ball arithmetic")
(description
"Arb is a C library for arbitrary-precision floating-point ball
arithmetic. It supports efficient high-precision computation with
polynomials, power series, matrices and special functions over the
real and complex numbers, with automatic, rigorous error control.")
(license license:lgpl2.1+)))
(define-public python-flint (define-public python-flint
(package (package